Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001778/0.001778, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002009/0.002009, allocations: 181.8 kB / 23.71 MB, free: 4.695 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.517/1.517, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance")
translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 47.91 kB / 370.9 MB, free: 9.32 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2802, allocations: 52.17 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004423/0.2846, allocations: 2.934 MB / 426.1 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001483/0.2861, allocations: 0.6777 MB / 426.7 MB, free: 11.03 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.2863, allocations: 11.94 kB / 426.7 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.2865, allocations: 63.36 kB / 426.8 MB, free: 10.95 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000183/0.2867, allocations: 87.19 kB / 426.9 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.287, allocations: 87.89 kB / 427 MB, free: 10.78 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004571/0.2875, allocations: 382.3 kB / 427.4 MB, free: 10.41 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.2878, allocations: 117.8 kB / 427.5 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.288, allocations: 151.4 kB / 427.6 MB, free: 10.14 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.2882, allocations: 151.3 kB / 427.8 MB, free: 9.992 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.2883, allocations: 32 kB / 427.8 MB, free: 9.961 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.2883, allocations: 32 kB / 427.8 MB, free: 9.93 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.2884, allocations: 79.75 kB / 427.9 MB, free: 9.852 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.2886, allocations: 163.2 kB / 428.1 MB, free: 9.691 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.2891, allocations: 383.6 kB / 428.4 MB, free: 9.32 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2891, allocations: 0 / 428.4 MB, free: 9.32 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.174e-06/0.2891, allocations: 4 kB / 428.4 MB, free: 9.316 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.614e-06/0.2891, allocations: 0 / 428.4 MB, free: 9.316 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: 79
 * Number of variables: 79
Notification: Performance of Generate backend data structure: time 0.00104/0.2901, allocations: 0.5403 MB / 429 MB, free: 8.746 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2902, allocations: 12.03 kB / 429 MB, free: 8.734 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.2903, allocations: 40.69 kB / 429 MB, free: 8.695 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.2906, allocations: 202 kB / 429.2 MB, free: 8.473 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.2907, allocations: 25.03 kB / 429.3 MB, free: 8.445 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.2907, allocations: 32.33 kB / 429.3 MB, free: 8.414 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.2913, allocations: 282.3 kB / 429.6 MB, free: 8.137 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2913, allocations: 0 / 429.6 MB, free: 8.137 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.2914, allocations: 16 kB / 429.6 MB, free: 8.121 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2914, allocations: 8 kB / 429.6 MB, free: 8.113 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.2919, allocations: 202.5 kB / 429.8 MB, free: 7.918 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2935, allocations: 0.9252 MB / 430.7 MB, free: 6.918 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.2939, allocations: 157.5 kB / 430.9 MB, free: 6.762 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.2941, allocations: 72.91 kB / 430.9 MB, free: 6.688 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2941, allocations: 4 kB / 430.9 MB, free: 6.684 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.2942, allocations: 34.56 kB / 431 MB, free: 6.641 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.2942, allocations: 0 / 431 MB, free: 6.641 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0006109/0.2948, allocations: 217.7 kB / 431.2 MB, free: 6.422 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2948, allocations: 51.41 kB / 431.2 MB, free: 6.359 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.2951, allocations: 211 kB / 431.4 MB, free: 6.145 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.2951, allocations: 33.7 kB / 431.5 MB, free: 6.105 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.2952, allocations: 196.3 kB / 431.7 MB, free: 5.91 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.2953, allocations: 71.42 kB / 431.7 MB, free: 5.84 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.2954, allocations: 49.7 kB / 431.8 MB, free: 5.785 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001711/0.2955, allocations: 330.8 kB / 432.1 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2957, allocations: 55.97 kB / 432.2 MB, free: 5.398 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.296, allocations: 125.8 kB / 432.3 MB, free: 5.254 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.2963, allocations: 185.9 kB / 432.5 MB, free: 5.051 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2963, allocations: 4 kB / 432.5 MB, free: 5.047 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005036/0.2968, allocations: 237.2 kB / 432.7 MB, free: 4.809 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.2969, allocations: 11.94 kB / 432.7 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2969, allocations: 0 / 432.7 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.2969, allocations: 7.984 kB / 432.7 MB, free: 4.789 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.2972, allocations: 60.09 kB / 432.8 MB, free: 4.73 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2972, allocations: 3.938 kB / 432.8 MB, free: 4.727 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.2974, allocations: 31.83 kB / 432.8 MB, free: 4.695 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.2974, allocations: 8 kB / 432.8 MB, free: 4.688 MB / 334.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 (29):
 * Single equations (assignments): 29
 * 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.0001577/0.2975, allocations: 141.7 kB / 433 MB, free: 4.539 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.2976, allocations: 23.86 kB / 433 MB, free: 4.516 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.2981, allocations: 191.3 kB / 433.2 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2981, allocations: 8 kB / 433.2 MB, free: 4.309 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2981, allocations: 3.938 kB / 433.2 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2981, allocations: 0 / 433.2 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.2985, allocations: 288.5 kB / 433.5 MB, free: 3.98 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2985, allocations: 4 kB / 433.5 MB, free: 3.977 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.2987, allocations: 47.91 kB / 433.5 MB, free: 3.93 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2987, allocations: 4 kB / 433.5 MB, free: 3.926 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.2988, allocations: 4 kB / 433.5 MB, free: 3.922 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2988, allocations: 0 / 433.5 MB, free: 3.922 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2988, allocations: 4 kB / 433.5 MB, free: 3.918 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006275/0.2994, allocations: 357.7 kB / 433.9 MB, free: 3.555 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.2994, allocations: 23.83 kB / 433.9 MB, free: 3.531 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.2995, allocations: 4.062 kB / 433.9 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2996, allocations: 15.98 kB / 433.9 MB, free: 3.512 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.2997, allocations: 19.92 kB / 433.9 MB, free: 3.492 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2997, allocations: 4 kB / 433.9 MB, free: 3.488 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001477/0.2999, allocations: 152.6 kB / 434.1 MB, free: 3.34 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2999, allocations: 0 / 434.1 MB, free: 3.34 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003412/0.3002, allocations: 75.78 kB / 434.2 MB, free: 3.266 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (19):
 * Single equations (assignments): 19
 * 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.0001227/0.3003, allocations: 103.4 kB / 434.3 MB, free: 3.152 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004426/0.3008, allocations: 155.8 kB / 434.4 MB, free: 3 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3008, allocations: 0 / 434.4 MB, free: 3 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3009, allocations: 75.89 kB / 434.5 MB, free: 2.926 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3013, allocations: 19.94 kB / 434.5 MB, free: 2.906 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3027, allocations: 0.8356 MB / 435.3 MB, free: 2.047 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3032, allocations: 0.7711 MB / 436.1 MB, free: 1.246 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 8.939e-05/0.3032, allocations: 25.94 kB / 436.1 MB, free: 1.223 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.3033, allocations: 19.44 kB / 436.2 MB, free: 1.203 MB / 334.1 MB
Notification: Performance of SimCode: time 5.1e-07/0.3033, allocations: 0 / 436.2 MB, free: 1.203 MB / 334.1 MB
Notification: Performance of Templates: time 0.006472/0.3098, allocations: 2.161 MB / 438.3 MB, free: 15.06 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.737486089579761]