Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.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.0017/0.0017, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002579/0.002579, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance") [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.002059/0.002059, allocations: 60.77 kB / 379 MB, free: 2.633 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2952, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004416/0.2996, allocations: 2.936 MB / 435.3 MB, free: 3.992 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001315/0.3009, allocations: 0.7244 MB / 436.1 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.301, allocations: 11.94 kB / 436.1 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.3012, allocations: 55.42 kB / 436.1 MB, free: 3.195 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.3014, allocations: 95.19 kB / 436.2 MB, free: 3.102 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3017, allocations: 91.77 kB / 436.3 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004247/0.3021, allocations: 374.4 kB / 436.7 MB, free: 2.645 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.3024, allocations: 119.7 kB / 436.8 MB, free: 2.527 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.3026, allocations: 147.5 kB / 436.9 MB, free: 2.383 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3028, allocations: 151.3 kB / 437.1 MB, free: 2.234 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.522e-05/0.3029, allocations: 32 kB / 437.1 MB, free: 2.203 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.3029, allocations: 35.94 kB / 437.2 MB, free: 2.168 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.303, allocations: 83.73 kB / 437.2 MB, free: 2.086 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.3032, allocations: 163.2 kB / 437.4 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.3036, allocations: 378.2 kB / 437.8 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3036, allocations: 0 / 437.8 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.183e-06/0.3036, allocations: 0 / 437.8 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.333e-06/0.3036, allocations: 0 / 437.8 MB, free: 1.559 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.0009423/0.3046, allocations: 0.5427 MB / 438.3 MB, free: 0.9883 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3046, allocations: 8.031 kB / 438.3 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.3047, allocations: 48.64 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.305, allocations: 202.8 kB / 438.6 MB, free: 0.7109 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.305, allocations: 28.97 kB / 438.6 MB, free: 0.6797 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.3051, allocations: 28.38 kB / 438.6 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.3056, allocations: 278.4 kB / 438.9 MB, free: 388 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3056, allocations: 0 / 438.9 MB, free: 388 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.3057, allocations: 27.92 kB / 438.9 MB, free: 360 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3057, allocations: 8 kB / 438.9 MB, free: 352 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.3061, allocations: 198.5 kB / 439.1 MB, free: 156 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3076, allocations: 0.9252 MB / 440 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.308, allocations: 158.6 kB / 440.2 MB, free: 14.99 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3081, allocations: 72.81 kB / 440.3 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3081, allocations: 0 / 440.3 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3082, allocations: 34.56 kB / 440.3 MB, free: 14.87 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.3082, allocations: 3.938 kB / 440.3 MB, free: 14.87 MB / 350.1 MB
Notification: Performance of matching and sorting (n=17): time 0.000558/0.3087, allocations: 224.4 kB / 440.5 MB, free: 14.64 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3088, allocations: 55.41 kB / 440.6 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.309, allocations: 210.8 kB / 440.8 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.309, allocations: 29.7 kB / 440.8 MB, free: 14.33 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3092, allocations: 192.3 kB / 441 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.3092, allocations: 75.38 kB / 441.1 MB, free: 14.06 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.3093, allocations: 45.7 kB / 441.1 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001565/0.3095, allocations: 330.8 kB / 441.4 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3096, allocations: 63.97 kB / 441.5 MB, free: 13.62 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3098, allocations: 114 kB / 441.6 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.3102, allocations: 193.8 kB / 441.8 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3102, allocations: 0 / 441.8 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004557/0.3106, allocations: 249.4 kB / 442.1 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3106, allocations: 7.938 kB / 442.1 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3107, allocations: 7.984 kB / 442.1 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3107, allocations: 0 / 442.1 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.3109, allocations: 63.89 kB / 442.1 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.311, allocations: 4 kB / 442.1 MB, free: 12.94 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3111, allocations: 19.89 kB / 442.2 MB, free: 12.92 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.3111, allocations: 15.98 kB / 442.2 MB, free: 12.91 MB / 350.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.0001441/0.3113, allocations: 145.8 kB / 442.3 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.3113, allocations: 19.86 kB / 442.3 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.3117, allocations: 199.2 kB / 442.5 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3117, allocations: 0 / 442.5 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3117, allocations: 0 / 442.5 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3117, allocations: 0 / 442.5 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.3121, allocations: 292.5 kB / 442.8 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3121, allocations: 0 / 442.8 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.3123, allocations: 55.97 kB / 442.9 MB, free: 12.15 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3123, allocations: 0 / 442.9 MB, free: 12.15 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3124, allocations: 7.938 kB / 442.9 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3124, allocations: 4 kB / 442.9 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3124, allocations: 0 / 442.9 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.3129, allocations: 349.8 kB / 443.2 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.313, allocations: 27.78 kB / 443.2 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.313, allocations: 8.062 kB / 443.3 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3132, allocations: 15.98 kB / 443.3 MB, free: 11.73 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.3132, allocations: 7.984 kB / 443.3 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3132, allocations: 4 kB / 443.3 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001467/0.3134, allocations: 156.6 kB / 443.4 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3134, allocations: 0 / 443.4 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003071/0.3137, allocations: 75.72 kB / 443.5 MB, free: 11.49 MB / 350.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.0001336/0.3138, allocations: 107.2 kB / 443.6 MB, free: 11.38 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.00039/0.3142, allocations: 160.2 kB / 443.8 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3142, allocations: 0 / 443.8 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.3144, allocations: 71.89 kB / 443.8 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3147, allocations: 32.14 kB / 443.9 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.316, allocations: 0.8393 MB / 444.7 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3164, allocations: 0.7673 MB / 445.5 MB, free: 9.457 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.925e-05/0.3165, allocations: 13.95 kB / 445.5 MB, free: 9.445 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.3166, allocations: 23.42 kB / 445.5 MB, free: 9.422 MB / 350.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.3166, allocations: 0 / 445.5 MB, free: 9.422 MB / 350.1 MB
Notification: Performance of Templates: time 0.005898/0.3225, allocations: 2.164 MB / 447.7 MB, free: 7.281 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.76475565880537]