Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001336/0.001336, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001657/0.001657, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.518/1.518, allocations: 230.6 MB / 258.2 MB, free: 8.074 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits")
translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [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.002113/0.002113, allocations: 64.77 kB / 379.1 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2662, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007508/0.2737, allocations: 5.434 MB / 437.9 MB, free: 1.48 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003422/0.2772, allocations: 1.523 MB / 439.4 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005045/0.2777, allocations: 35.69 kB / 439.4 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.2781, allocations: 225.8 kB / 439.6 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.2786, allocations: 194 kB / 439.8 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.2795, allocations: 435.1 kB / 440.3 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001199/0.2807, allocations: 1.122 MB / 441.4 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.2812, allocations: 332.9 kB / 441.7 MB, free: 13.6 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.2818, allocations: 418.3 kB / 442.1 MB, free: 13.19 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.2823, allocations: 433.5 kB / 442.5 MB, free: 12.77 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2824, allocations: 84 kB / 442.6 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.2826, allocations: 100 kB / 442.7 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.2827, allocations: 219 kB / 442.9 MB, free: 12.37 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.2832, allocations: 0.4932 MB / 443.4 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001248/0.2844, allocations: 1.195 MB / 444.6 MB, free: 10.68 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2844, allocations: 0 / 444.6 MB, free: 10.68 MB / 350.1 MB
Notification: Performance of FrontEnd: time 2.594e-06/0.2844, allocations: 4 kB / 444.6 MB, free: 10.68 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.264e-05/0.2845, allocations: 0 / 444.6 MB, free: 10.68 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 252
 * Number of variables: 252
Notification: Performance of Generate backend data structure: time 0.001798/0.2862, allocations: 1.267 MB / 445.9 MB, free: 9.375 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2863, allocations: 12.03 kB / 445.9 MB, free: 9.363 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.2866, allocations: 151.1 kB / 446.1 MB, free: 9.215 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2877, allocations: 0.5859 MB / 446.6 MB, free: 8.598 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.2878, allocations: 77.94 kB / 446.7 MB, free: 8.52 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.2879, allocations: 99.98 kB / 446.8 MB, free: 8.422 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2896, allocations: 1.027 MB / 447.8 MB, free: 7.273 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.2896, allocations: 15.86 kB / 447.9 MB, free: 7.258 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.2897, allocations: 47.98 kB / 447.9 MB, free: 7.211 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.2897, allocations: 24 kB / 447.9 MB, free: 7.188 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.2908, allocations: 0.5578 MB / 448.5 MB, free: 6.633 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.2959, allocations: 5.405 MB / 453.9 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.2964, allocations: 221 kB / 454.1 MB, free: 0.707 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.2968, allocations: 153.6 kB / 454.3 MB, free: 0.5508 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.844e-05/0.2969, allocations: 8 kB / 454.3 MB, free: 0.543 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2969, allocations: 34.56 kB / 454.3 MB, free: 0.5 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.2969, allocations: 7.938 kB / 454.3 MB, free: 0.4922 MB / 350.1 MB
Notification: Performance of matching and sorting (n=40): time 0.003791/0.3007, allocations: 1.59 MB / 455.9 MB, free: 14.84 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3007, allocations: 85.05 kB / 456 MB, free: 14.74 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.3015, allocations: 0.6413 MB / 456.6 MB, free: 14.08 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3015, allocations: 33.7 kB / 456.7 MB, free: 14.04 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.302, allocations: 0.6239 MB / 457.3 MB, free: 13.41 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.3021, allocations: 150.8 kB / 457.4 MB, free: 13.27 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3022, allocations: 134.5 kB / 457.6 MB, free: 13.13 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002043/0.3025, allocations: 390.7 kB / 457.9 MB, free: 12.74 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.3028, allocations: 149.9 kB / 458.1 MB, free: 12.59 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.3034, allocations: 0.5009 MB / 458.6 MB, free: 11.93 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.3043, allocations: 0.6882 MB / 459.3 MB, free: 11.08 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3043, allocations: 4 kB / 459.3 MB, free: 11.07 MB / 366.1 MB
Notification: Performance of matching and sorting (n=96) (initialization): time 0.00117/0.3055, allocations: 0.7146 MB / 460 MB, free: 10.36 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3055, allocations: 12 kB / 460 MB, free: 10.34 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3055, allocations: 12.84 kB / 460 MB, free: 10.33 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.3055, allocations: 16 kB / 460 MB, free: 10.32 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.3062, allocations: 199.7 kB / 460.2 MB, free: 10.12 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/0.3062, allocations: 27.81 kB / 460.3 MB, free: 10.09 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3065, allocations: 35.98 kB / 460.3 MB, free: 10.06 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.3066, allocations: 36 kB / 460.3 MB, free: 10.02 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 53
 * 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 (96):
 * Single equations (assignments): 96
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0003304/0.3069, allocations: 229.5 kB / 460.5 MB, free: 9.789 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.307, allocations: 87.47 kB / 460.6 MB, free: 9.703 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3071, allocations: 74.69 kB / 460.7 MB, free: 9.629 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3071, allocations: 4 kB / 460.7 MB, free: 9.625 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3072, allocations: 3.938 kB / 460.7 MB, free: 9.621 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3072, allocations: 7.984 kB / 460.7 MB, free: 9.613 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3092, allocations: 1.292 MB / 462 MB, free: 8.258 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3092, allocations: 4 kB / 462 MB, free: 8.254 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.3097, allocations: 95.88 kB / 462.1 MB, free: 8.16 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.3097, allocations: 8.156 kB / 462.1 MB, free: 8.152 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.3097, allocations: 19.92 kB / 462.1 MB, free: 8.133 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3097, allocations: 4 kB / 462.1 MB, free: 8.129 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3097, allocations: 3.938 kB / 462.1 MB, free: 8.125 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3107, allocations: 0.7013 MB / 462.8 MB, free: 7.391 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3108, allocations: 71.45 kB / 462.9 MB, free: 7.32 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.3109, allocations: 8 kB / 462.9 MB, free: 7.312 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.3112, allocations: 35.98 kB / 463 MB, free: 7.277 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.3113, allocations: 31.88 kB / 463 MB, free: 7.246 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.3113, allocations: 12 kB / 463 MB, free: 7.234 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0004999/0.3118, allocations: 427 kB / 463.4 MB, free: 6.824 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.3118, allocations: 0 / 463.4 MB, free: 6.824 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006954/0.3125, allocations: 136 kB / 463.6 MB, free: 6.691 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v)
 * 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 (40):
 * Single equations (assignments): 40
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.3126, allocations: 115.1 kB / 463.7 MB, free: 6.57 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008359/0.3135, allocations: 417.1 kB / 464.1 MB, free: 6.164 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3135, allocations: 0 / 464.1 MB, free: 6.164 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.3138, allocations: 149.2 kB / 464.2 MB, free: 6.02 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.3143, allocations: 73.55 kB / 464.3 MB, free: 5.945 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.3173, allocations: 1.689 MB / 466 MB, free: 4.203 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.3179, allocations: 1.008 MB / 467 MB, free: 3.168 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002792/0.3182, allocations: 94.05 kB / 467.1 MB, free: 3.074 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3184, allocations: 63.41 kB / 467.1 MB, free: 3.012 MB / 366.1 MB
Notification: Performance of SimCode: time 9.41e-07/0.3184, allocations: 0 / 467.1 MB, free: 3.012 MB / 366.1 MB
Notification: Performance of Templates: time 0.01299/0.3314, allocations: 5.514 MB / 472.7 MB, free: 13.51 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.76751562487334]