Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001646/0.001646, allocations: 109 kB / 21.23 MB, free: 0.6719 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 209.2 kB / 24.53 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 8.055 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 68.75 kB / 379.1 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2536, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004916/0.2585, allocations: 2.746 MB / 435.2 MB, free: 4.188 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001518/0.26, allocations: 0.7088 MB / 435.9 MB, free: 3.473 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2602, allocations: 8 kB / 435.9 MB, free: 3.465 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2603, allocations: 55.5 kB / 436 MB, free: 3.41 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000189/0.2605, allocations: 79.27 kB / 436 MB, free: 3.332 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2608, allocations: 95.8 kB / 436.1 MB, free: 3.238 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003986/0.2612, allocations: 334.5 kB / 436.5 MB, free: 2.91 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.2615, allocations: 89.97 kB / 436.5 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.2618, allocations: 131.6 kB / 436.7 MB, free: 2.691 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.262, allocations: 147.4 kB / 436.8 MB, free: 2.547 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.262, allocations: 28 kB / 436.8 MB, free: 2.52 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.2621, allocations: 28 kB / 436.9 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.2621, allocations: 63.7 kB / 436.9 MB, free: 2.43 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.2623, allocations: 143.3 kB / 437.1 MB, free: 2.289 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2627, allocations: 320.3 kB / 437.4 MB, free: 1.98 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2627, allocations: 3.984 kB / 437.4 MB, free: 1.977 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.423e-06/0.2627, allocations: 0 / 437.4 MB, free: 1.977 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.794e-06/0.2627, allocations: 0 / 437.4 MB, free: 1.977 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.001091/0.2638, allocations: 0.517 MB / 437.9 MB, free: 1.43 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.2638, allocations: 8.031 kB / 437.9 MB, free: 1.422 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.2639, allocations: 32.75 kB / 437.9 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.2644, allocations: 218 kB / 438.2 MB, free: 1.152 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.2644, allocations: 12.88 kB / 438.2 MB, free: 1.141 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.2644, allocations: 24.38 kB / 438.2 MB, free: 1.117 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.2649, allocations: 287 kB / 438.5 MB, free: 0.8242 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.265, allocations: 0 / 438.5 MB, free: 0.8242 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.265, allocations: 16 kB / 438.5 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.265, allocations: 4 kB / 438.5 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.2655, allocations: 201.9 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.2671, allocations: 0.9763 MB / 439.7 MB, free: 15.56 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.2676, allocations: 173.4 kB / 439.8 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.268, allocations: 144.8 kB / 440 MB, free: 15.24 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.268, allocations: 3.984 kB / 440 MB, free: 15.24 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.268, allocations: 38.8 kB / 440 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.268, allocations: 4 kB / 440 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001602/0.2697, allocations: 489.9 kB / 440.5 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.2697, allocations: 63.39 kB / 440.6 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.27, allocations: 225 kB / 440.8 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.27, allocations: 33.7 kB / 440.8 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2701, allocations: 180.1 kB / 441 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.2702, allocations: 63.53 kB / 441.1 MB, free: 14.11 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.2702, allocations: 45.66 kB / 441.1 MB, free: 14.06 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001464/0.2704, allocations: 330.8 kB / 441.4 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2706, allocations: 71.95 kB / 441.5 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2708, allocations: 131.6 kB / 441.6 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.2712, allocations: 208.5 kB / 441.8 MB, free: 13.28 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2712, allocations: 0 / 441.8 MB, free: 13.28 MB / 350.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008392/0.272, allocations: 357.1 kB / 442.2 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.272, allocations: 4 kB / 442.2 MB, free: 12.92 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.272, allocations: 8 kB / 442.2 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/0.2725, allocations: 80.86 kB / 442.3 MB, free: 12.83 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2727, allocations: 47.92 kB / 442.3 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.2755, allocations: 1.898 MB / 444.2 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.2756, allocations: 31.81 kB / 444.2 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2757, allocations: 16 kB / 444.3 MB, free: 10.72 MB / 350.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.0001476/0.2758, allocations: 145.7 kB / 444.4 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.2759, allocations: 23.86 kB / 444.4 MB, free: 10.54 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.2759, allocations: 22.12 kB / 444.4 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2759, allocations: 0 / 444.4 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2759, allocations: 0 / 444.4 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2759, allocations: 3.984 kB / 444.4 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.277, allocations: 0.6337 MB / 445.1 MB, free: 9.832 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.277, allocations: 4.109 kB / 445.1 MB, free: 9.828 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2772, allocations: 35.92 kB / 445.1 MB, free: 9.793 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.2775, allocations: 80.8 kB / 445.2 MB, free: 9.711 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2775, allocations: 0 / 445.2 MB, free: 9.711 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/0.2798, allocations: 1.816 MB / 447 MB, free: 7.785 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2798, allocations: 0 / 447 MB, free: 7.785 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008875/0.2807, allocations: 460 kB / 447.5 MB, free: 7.316 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.2807, allocations: 23.83 kB / 447.5 MB, free: 7.293 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.2807, allocations: 4 kB / 447.5 MB, free: 7.289 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2809, allocations: 15.98 kB / 447.5 MB, free: 7.273 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.281, allocations: 19.97 kB / 447.5 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.281, allocations: 4 kB / 447.5 MB, free: 7.25 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001634/0.2811, allocations: 176.5 kB / 447.7 MB, free: 7.082 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2811, allocations: 0 / 447.7 MB, free: 7.082 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004105/0.2816, allocations: 75.89 kB / 447.8 MB, free: 7.008 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.0001406/0.2817, allocations: 99.19 kB / 447.9 MB, free: 6.898 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008834/0.2826, allocations: 358.5 kB / 448.2 MB, free: 6.535 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2826, allocations: 4.312 kB / 448.2 MB, free: 6.531 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.2829, allocations: 202.5 kB / 448.4 MB, free: 6.32 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.2833, allocations: 43.58 kB / 448.5 MB, free: 6.277 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.2857, allocations: 0.878 MB / 449.3 MB, free: 5.375 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.286, allocations: 0.7518 MB / 450.1 MB, free: 4.598 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.052e-05/0.2861, allocations: 21.95 kB / 450.1 MB, free: 4.578 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.2861, allocations: 15.44 kB / 450.1 MB, free: 4.562 MB / 350.1 MB
Notification: Performance of SimCode: time 4.81e-07/0.2861, allocations: 4 kB / 450.1 MB, free: 4.559 MB / 350.1 MB
Notification: Performance of Templates: time 0.008346/0.2945, allocations: 3.101 MB / 453.2 MB, free: 1.48 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.574442187324166]