Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 97.72 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 55.92 kB / 280.7 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1356, allocations: 46.63 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005099/0.1407, allocations: 2.691 MB / 330 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1424, allocations: 0.6942 MB / 330.7 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.1426, allocations: 11.94 kB / 330.7 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1429, allocations: 51.56 kB / 330.7 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.1432, allocations: 83.25 kB / 330.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1435, allocations: 95.81 kB / 330.9 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.1439, allocations: 338.5 kB / 331.2 MB, free: 492 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1442, allocations: 109.7 kB / 331.3 MB, free: 388 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.1444, allocations: 135.5 kB / 331.5 MB, free: 252 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1447, allocations: 135.5 kB / 331.6 MB, free: 116 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.1447, allocations: 28 kB / 331.6 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.1448, allocations: 31.94 kB / 331.7 MB, free: 56 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.1449, allocations: 59.84 kB / 331.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.145, allocations: 143.3 kB / 331.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.1454, allocations: 319 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1454, allocations: 0 / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1454, allocations: 0 / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1454, allocations: 0 / 332.2 MB, free: 15.54 MB / 286.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.001137/0.1466, allocations: 0.5926 MB / 332.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.1466, allocations: 15.89 kB / 332.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.1467, allocations: 32.59 kB / 332.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.1471, allocations: 267.7 kB / 333.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1472, allocations: 20.94 kB / 333.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.1472, allocations: 24.38 kB / 333.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.1477, allocations: 241.2 kB / 333.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1478, allocations: 0 / 333.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.1478, allocations: 15.98 kB / 333.4 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1478, allocations: 4 kB / 333.4 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.1483, allocations: 222.1 kB / 333.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1499, allocations: 0.9173 MB / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.1504, allocations: 194.4 kB / 334.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.1508, allocations: 152.8 kB / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1509, allocations: 0 / 334.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1509, allocations: 38.56 kB / 334.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1509, allocations: 0 / 334.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001683/0.1526, allocations: 0.5375 MB / 335.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1527, allocations: 51.41 kB / 335.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.1529, allocations: 224.2 kB / 335.7 MB, free: 11.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.153, allocations: 29.7 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1531, allocations: 179.8 kB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.1532, allocations: 63.09 kB / 336 MB, free: 11.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.1533, allocations: 49.64 kB / 336 MB, free: 11.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1535, allocations: 326.8 kB / 336.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1537, allocations: 76.81 kB / 336.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.1539, allocations: 121.9 kB / 336.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1542, allocations: 189.8 kB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1542, allocations: 0 / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000732/0.1549, allocations: 334 kB / 337 MB, free: 10.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.155, allocations: 4 kB / 337 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.155, allocations: 4 kB / 337 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.1555, allocations: 108.8 kB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1557, allocations: 51.91 kB / 337.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.1581, allocations: 1.931 MB / 339.1 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1583, allocations: 27.69 kB / 339.2 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.1583, allocations: 11.98 kB / 339.2 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001808/0.1585, allocations: 144.1 kB / 339.3 MB, free: 7.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000138/0.1587, allocations: 109.9 kB / 339.4 MB, free: 7.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002179/0.1589, allocations: 177.9 kB / 339.6 MB, free: 7.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.397e-06/0.1589, allocations: 3.938 kB / 339.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004322/0.1593, allocations: 253.9 kB / 339.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1594, allocations: 4 kB / 339.9 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1594, allocations: 7.984 kB / 339.9 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.1595, allocations: 40.78 kB / 339.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1597, allocations: 52.09 kB / 340 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.1612, allocations: 1.729 MB / 341.7 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.1614, allocations: 11.84 kB / 341.7 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1614, allocations: 12 kB / 341.7 MB, free: 5.359 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.1616, allocations: 196.1 kB / 341.9 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.1617, allocations: 19.72 kB / 341.9 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.1617, allocations: 29.86 kB / 341.9 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1618, allocations: 8 kB / 342 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1618, allocations: 0 / 342 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1618, allocations: 0 / 342 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/0.1627, allocations: 0.6239 MB / 342.6 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1628, allocations: 0 / 342.6 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.1629, allocations: 27.98 kB / 342.6 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/0.1632, allocations: 64.81 kB / 342.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1632, allocations: 3.984 kB / 342.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.1652, allocations: 1.873 MB / 344.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1652, allocations: 0 / 344.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/0.1659, allocations: 419 kB / 345 MB, free: 1.887 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.166, allocations: 108.8 kB / 345.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1661, allocations: 4 kB / 345.1 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.1663, allocations: 23.92 kB / 345.1 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.1663, allocations: 7.984 kB / 345.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1663, allocations: 4 kB / 345.1 MB, free: 1.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1665, allocations: 177.6 kB / 345.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1665, allocations: 4 kB / 345.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.1672, allocations: 131.6 kB / 345.4 MB, free: 1.418 MB / 286.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.1674, allocations: 99.25 kB / 345.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1685, allocations: 0.5406 MB / 346 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1685, allocations: 0 / 346 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.1688, allocations: 219.2 kB / 346.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1693, allocations: 48.77 kB / 346.3 MB, free: 480 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1712, allocations: 0.7292 MB / 347 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.1717, allocations: 0.7561 MB / 347.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1719, allocations: 21.95 kB / 347.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1719, allocations: 15.44 kB / 347.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1719, allocations: 4 kB / 347.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Templates: time 0.007927/0.1799, allocations: 3.263 MB / 351.1 MB, free: 11.63 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches