Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002953/0.002953, allocations: 187.4 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 252.5 MB, free: 12.98 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator")
translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 371 MB, free: 9.277 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2652, allocations: 52.19 MB / 423.2 MB, free: 14.63 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004085/0.2693, allocations: 2.724 MB / 425.9 MB, free: 11.9 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001275/0.2705, allocations: 0.6777 MB / 426.6 MB, free: 11.21 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2707, allocations: 4 kB / 426.6 MB, free: 11.21 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.2708, allocations: 47.5 kB / 426.6 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.271, allocations: 95.25 kB / 426.7 MB, free: 11.07 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.2713, allocations: 87.81 kB / 426.8 MB, free: 10.98 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003995/0.2717, allocations: 338.5 kB / 427.1 MB, free: 10.65 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.2719, allocations: 77.98 kB / 427.2 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.2721, allocations: 135.5 kB / 427.3 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.2723, allocations: 139.3 kB / 427.5 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.2724, allocations: 31.98 kB / 427.5 MB, free: 10.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.124e-05/0.2725, allocations: 32 kB / 427.5 MB, free: 10.24 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.2725, allocations: 55.83 kB / 427.6 MB, free: 10.19 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2727, allocations: 151.2 kB / 427.7 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.2731, allocations: 315.9 kB / 428 MB, free: 9.734 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2731, allocations: 3.938 kB / 428 MB, free: 9.73 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.313e-06/0.2731, allocations: 0 / 428 MB, free: 9.73 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.985e-06/0.2731, allocations: 0 / 428 MB, free: 9.73 MB / 334.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.001131/0.2742, allocations: 0.5247 MB / 428.6 MB, free: 9.176 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2743, allocations: 8.031 kB / 428.6 MB, free: 9.168 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.2744, allocations: 36.75 kB / 428.6 MB, free: 9.133 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.2747, allocations: 206 kB / 428.8 MB, free: 8.906 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2748, allocations: 16.88 kB / 428.8 MB, free: 8.887 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.2748, allocations: 24.38 kB / 428.9 MB, free: 8.863 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.2754, allocations: 279.1 kB / 429.1 MB, free: 8.578 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2754, allocations: 0 / 429.1 MB, free: 8.578 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.2754, allocations: 11.98 kB / 429.1 MB, free: 8.566 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2755, allocations: 8 kB / 429.1 MB, free: 8.559 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.276, allocations: 209.8 kB / 429.3 MB, free: 8.355 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.2778, allocations: 0.9647 MB / 430.3 MB, free: 7.32 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.2783, allocations: 177.9 kB / 430.5 MB, free: 7.141 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.2788, allocations: 148.8 kB / 430.6 MB, free: 6.992 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.2788, allocations: 4 kB / 430.6 MB, free: 6.988 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2788, allocations: 30.56 kB / 430.7 MB, free: 6.949 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.2788, allocations: 0 / 430.7 MB, free: 6.949 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001993/0.2808, allocations: 490.2 kB / 431.1 MB, free: 6.461 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.2809, allocations: 55.41 kB / 431.2 MB, free: 6.395 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.2812, allocations: 236.9 kB / 431.4 MB, free: 6.152 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.2812, allocations: 29.7 kB / 431.5 MB, free: 6.117 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.2814, allocations: 184.1 kB / 431.6 MB, free: 5.934 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.2814, allocations: 67.44 kB / 431.7 MB, free: 5.867 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.2815, allocations: 45.7 kB / 431.7 MB, free: 5.816 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001603/0.2817, allocations: 330.8 kB / 432.1 MB, free: 5.484 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.2819, allocations: 75.91 kB / 432.1 MB, free: 5.41 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.2821, allocations: 130.8 kB / 432.3 MB, free: 5.258 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.2826, allocations: 204.6 kB / 432.5 MB, free: 5.035 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2826, allocations: 4 kB / 432.5 MB, free: 5.031 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009513/0.2835, allocations: 355.8 kB / 432.8 MB, free: 4.676 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2835, allocations: 4 kB / 432.8 MB, free: 4.672 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2835, allocations: 4 kB / 432.8 MB, free: 4.668 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.2839, allocations: 80.86 kB / 432.9 MB, free: 4.586 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.2841, allocations: 51.91 kB / 433 MB, free: 4.535 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.2874, allocations: 1.894 MB / 434.9 MB, free: 2.52 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2877, allocations: 35.8 kB / 434.9 MB, free: 2.484 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2877, allocations: 8 kB / 434.9 MB, free: 2.477 MB / 334.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.0001995/0.2879, allocations: 149.7 kB / 435 MB, free: 2.32 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.288, allocations: 15.91 kB / 435.1 MB, free: 2.305 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.288, allocations: 30.11 kB / 435.1 MB, free: 2.273 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.288, allocations: 4.156 kB / 435.1 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.288, allocations: 4 kB / 435.1 MB, free: 2.266 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.288, allocations: 0 / 435.1 MB, free: 2.266 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.2893, allocations: 0.6307 MB / 435.7 MB, free: 1.582 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2893, allocations: 4 kB / 435.7 MB, free: 1.578 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.2895, allocations: 31.97 kB / 435.8 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003129/0.2898, allocations: 76.75 kB / 435.8 MB, free: 1.469 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2898, allocations: 7.984 kB / 435.8 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.2928, allocations: 1.813 MB / 437.7 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2928, allocations: 0 / 437.7 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.2939, allocations: 458.5 kB / 438.1 MB, free: 15.07 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.294, allocations: 31.88 kB / 438.1 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.294, allocations: 4.125 kB / 438.1 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2942, allocations: 23.98 kB / 438.2 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.2943, allocations: 11.98 kB / 438.2 MB, free: 15 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2943, allocations: 3.984 kB / 438.2 MB, free: 15 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002061/0.2945, allocations: 172.4 kB / 438.4 MB, free: 14.83 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2945, allocations: 0 / 438.4 MB, free: 14.83 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005176/0.295, allocations: 83.83 kB / 438.4 MB, free: 14.75 MB / 350.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.0001787/0.2952, allocations: 99.23 kB / 438.5 MB, free: 14.64 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001064/0.2962, allocations: 366.4 kB / 438.9 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2962, allocations: 0 / 438.9 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.2966, allocations: 206.9 kB / 439.1 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.297, allocations: 38.77 kB / 439.1 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.2998, allocations: 0.8664 MB / 440 MB, free: 13.13 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.3003, allocations: 0.748 MB / 440.7 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001048/0.3004, allocations: 25.94 kB / 440.8 MB, free: 12.33 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.3005, allocations: 15.44 kB / 440.8 MB, free: 12.32 MB / 350.1 MB
Notification: Performance of SimCode: time 9.32e-07/0.3005, allocations: 0 / 440.8 MB, free: 12.32 MB / 350.1 MB
Notification: Performance of Templates: time 0.007859/0.3083, allocations: 3.096 MB / 443.9 MB, free: 9.238 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.628382553346455]