Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009632/0.0009636, allocations: 92.36 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001492, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.000264, allocations: 8 kB / 307.7 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 51.54 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003361/0.12, allocations: 2.379 MB / 361.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1216, allocations: 0.6935 MB / 362.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.122, allocations: 7.938 kB / 362.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1222, allocations: 35.75 kB / 362.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.1225, allocations: 79.38 kB / 362.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1228, allocations: 75.86 kB / 362.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.1233, allocations: 330.5 kB / 362.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.1235, allocations: 98.19 kB / 363 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.1239, allocations: 111.6 kB / 363.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1241, allocations: 127.4 kB / 363.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.1242, allocations: 12 kB / 363.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.894e-05/0.1242, allocations: 16 kB / 363.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1243, allocations: 47.72 kB / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1245, allocations: 153 kB / 363.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.1248, allocations: 299 kB / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1248, allocations: 0 / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1248, allocations: 0 / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1249, allocations: 0 / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00111/0.126, allocations: 0.5498 MB / 364.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.126, allocations: 12.03 kB / 364.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1262, allocations: 32.56 kB / 364.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.1266, allocations: 251.9 kB / 364.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1266, allocations: 20.94 kB / 364.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.1267, allocations: 28.36 kB / 364.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.1273, allocations: 280 kB / 364.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1273, allocations: 0 / 364.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.1273, allocations: 16 kB / 364.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.1274, allocations: 7.984 kB / 364.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.1279, allocations: 210.1 kB / 365.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1297, allocations: 1.023 MB / 366.1 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.1302, allocations: 190.6 kB / 366.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.1306, allocations: 164.7 kB / 366.5 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1307, allocations: 4 kB / 366.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1307, allocations: 38.5 kB / 366.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1307, allocations: 0 / 366.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001869/0.1326, allocations: 0.5954 MB / 367.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.1326, allocations: 55.41 kB / 367.2 MB, free: 5.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.1329, allocations: 236.9 kB / 367.4 MB, free: 4.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.1329, allocations: 29.7 kB / 367.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.1331, allocations: 179.8 kB / 367.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.1331, allocations: 55.2 kB / 367.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.1332, allocations: 29.7 kB / 367.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1334, allocations: 326.8 kB / 368 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1336, allocations: 75.95 kB / 368.1 MB, free: 4.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1338, allocations: 126.8 kB / 368.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.1342, allocations: 221.8 kB / 368.4 MB, free: 3.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1342, allocations: 0 / 368.4 MB, free: 3.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009194/0.1352, allocations: 370 kB / 368.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1352, allocations: 8 kB / 368.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1352, allocations: 0 / 368.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.1356, allocations: 88.86 kB / 368.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1358, allocations: 51.91 kB / 368.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.1388, allocations: 1.853 MB / 370.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.139, allocations: 31.72 kB / 370.8 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1391, allocations: 8 kB / 370.8 MB, free: 1.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.1393, allocations: 145.7 kB / 371 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.1393, allocations: 27.66 kB / 371 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.1394, allocations: 26.25 kB / 371 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1394, allocations: 0 / 371 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1394, allocations: 4 kB / 371 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1394, allocations: 8.016 kB / 371 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1406, allocations: 0.6591 MB / 371.7 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1406, allocations: 7.938 kB / 371.7 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1408, allocations: 28.11 kB / 371.7 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.1411, allocations: 92.73 kB / 371.8 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1411, allocations: 7.938 kB / 371.8 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1972/0.3383, allocations: 1.755 MB / 373.6 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3383, allocations: 0.6875 kB / 373.6 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009948/0.3393, allocations: 478 kB / 374 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.3394, allocations: 101.6 kB / 374.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3394, allocations: 3.812 kB / 374.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3397, allocations: 26.78 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.3397, allocations: 10.55 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3397, allocations: 8 kB / 374.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.3399, allocations: 169.8 kB / 374.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3399, allocations: 0 / 374.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.3404, allocations: 70.48 kB / 374.4 MB, free: 17.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.3405, allocations: 111.4 kB / 374.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009429/0.3415, allocations: 385.4 kB / 374.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3415, allocations: 0 / 374.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.3418, allocations: 210.2 kB / 375.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3422, allocations: 38.25 kB / 375.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.3448, allocations: 1.065 MB / 376.2 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.345, allocations: 0.7462 MB / 377 MB, free: 16.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.3451, allocations: 26.95 kB / 377 MB, free: 16.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.3452, allocations: 17.06 kB / 377 MB, free: 16.14 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3452, allocations: 1.375 kB / 377 MB, free: 16.14 MB / 302.1 MB Notification: Performance of Templates: time 0.006838/0.352, allocations: 2.687 MB / 379.7 MB, free: 15.98 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches