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.001527/0.001526, allocations: 104 kB / 17.72 MB, free: 5.242 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.002846/0.002846, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.936/1.936, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001637/0.001637, allocations: 51.91 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1513, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00443/0.1558, allocations: 2.675 MB / 377.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1572, allocations: 0.7057 MB / 378.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1574, allocations: 8 kB / 378.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1576, allocations: 55.5 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1579, allocations: 83.25 kB / 378.7 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1583, allocations: 91.81 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.1588, allocations: 338.4 kB / 379.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.1591, allocations: 113.7 kB / 379.2 MB, free: 476 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.1594, allocations: 127.5 kB / 379.4 MB, free: 348 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1597, allocations: 143.4 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.1598, allocations: 32 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.1598, allocations: 24 kB / 379.6 MB, free: 148 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.1599, allocations: 67.75 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2988/0.4588, allocations: 141.8 kB / 379.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.4594, allocations: 321.2 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4594, allocations: 0 / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4594, allocations: 0 / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4594, allocations: 1.312 kB / 380.1 MB, free: 10.09 MB / 318.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.0009982/0.4604, allocations: 0.5861 MB / 380.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4605, allocations: 13.48 kB / 380.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.4606, allocations: 37.36 kB / 380.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.461, allocations: 266.1 kB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.461, allocations: 18.5 kB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.461, allocations: 22.94 kB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.4615, allocations: 243.4 kB / 381.2 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4615, allocations: 9.781 kB / 381.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.4616, allocations: 12.38 kB / 381.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4616, allocations: 6.203 kB / 381.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.4621, allocations: 213 kB / 381.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.4636, allocations: 0.914 MB / 382.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.4641, allocations: 190.1 kB / 382.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.4645, allocations: 150.5 kB / 382.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.4646, allocations: 2.156 kB / 382.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4646, allocations: 37.52 kB / 382.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.605e-06/0.4646, allocations: 2.344 kB / 382.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001625/0.4663, allocations: 0.5311 MB / 383.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.4663, allocations: 54.84 kB / 383.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4666, allocations: 232.5 kB / 383.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4666, allocations: 30.73 kB / 383.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.4667, allocations: 172.7 kB / 383.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.4667, allocations: 68.75 kB / 383.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.4668, allocations: 46.98 kB / 383.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.4669, allocations: 329.2 kB / 384.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.467, allocations: 69.53 kB / 384.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4672, allocations: 129.7 kB / 384.4 MB, free: 7.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.4675, allocations: 190.5 kB / 384.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4675, allocations: 0 / 384.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007178/0.4683, allocations: 333.2 kB / 384.9 MB, free: 7.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4683, allocations: 10.03 kB / 384.9 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4683, allocations: 0.8438 kB / 384.9 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.4688, allocations: 116.4 kB / 385 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.469, allocations: 48.25 kB / 385.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.4711, allocations: 1.926 MB / 387 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.4713, allocations: 25.94 kB / 387 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4713, allocations: 10.75 kB / 387.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001555/0.4715, allocations: 151.8 kB / 387.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001176/0.4716, allocations: 97.91 kB / 387.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001998/0.4718, allocations: 180.8 kB / 387.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.4718, allocations: 0 / 387.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003973/0.4722, allocations: 261.5 kB / 387.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.4722, allocations: 6.094 kB / 387.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4722, allocations: 2.062 kB / 387.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.4723, allocations: 47.78 kB / 387.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.4725, allocations: 47.84 kB / 387.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.4736, allocations: 1.717 MB / 389.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.4738, allocations: 20.09 kB / 389.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4738, allocations: 10.69 kB / 389.6 MB, free: 4.23 MB / 318.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.0001042/0.4739, allocations: 196.6 kB / 389.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.474, allocations: 18.56 kB / 389.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.474, allocations: 25.73 kB / 389.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.474, allocations: 5.219 kB / 389.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4741, allocations: 11.72 kB / 389.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4741, allocations: 1.375 kB / 389.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009296/0.475, allocations: 0.6243 MB / 390.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.475, allocations: 3.844 kB / 390.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.4752, allocations: 30.55 kB / 390.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.4754, allocations: 68.19 kB / 390.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4754, allocations: 5.703 kB / 390.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.4771, allocations: 1.866 MB / 392.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4771, allocations: 0 / 392.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.4778, allocations: 415.5 kB / 392.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.4779, allocations: 104.1 kB / 392.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.4779, allocations: 7.359 kB / 392.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4781, allocations: 21.81 kB / 393 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4782, allocations: 14.17 kB / 393 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4782, allocations: 4.141 kB / 393 MB, free: 1.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.4783, allocations: 170.1 kB / 393.1 MB, free: 1.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4783, allocations: 1.094 kB / 393.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006323/0.479, allocations: 128.9 kB / 393.3 MB, free: 1.414 MB / 318.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.0001358/0.4791, allocations: 100.8 kB / 393.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009869/0.4801, allocations: 0.5453 MB / 393.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4801, allocations: 1.719 kB / 393.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.4804, allocations: 212.1 kB / 394.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.4809, allocations: 38.66 kB / 394.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.4827, allocations: 0.7415 MB / 394.9 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4831, allocations: 0.7567 MB / 395.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.4832, allocations: 23.44 kB / 395.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.4833, allocations: 18.44 kB / 395.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4833, allocations: 0 / 395.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Templates: time 0.0104/0.4937, allocations: 3.33 MB / 399 MB, free: 15.51 MB / 334.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