Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.00142/0.00142, 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.00159/0.00159, allocations: 188 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.479/1.479, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 51.91 kB / 371 MB, free: 9.402 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2884, allocations: 52.17 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007218/0.2956, allocations: 5.42 MB / 428.6 MB, free: 9.227 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003014/0.2986, allocations: 1.449 MB / 430 MB, free: 7.773 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.2992, allocations: 35.75 kB / 430 MB, free: 7.738 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.2997, allocations: 213.8 kB / 430.3 MB, free: 7.527 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000675/0.3004, allocations: 202 kB / 430.4 MB, free: 7.328 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009991/0.3014, allocations: 407.2 kB / 430.8 MB, free: 6.93 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001489/0.3029, allocations: 1.119 MB / 432 MB, free: 5.805 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006181/0.3035, allocations: 332.9 kB / 432.3 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.3042, allocations: 414.2 kB / 432.7 MB, free: 5.047 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005295/0.3047, allocations: 433.6 kB / 433.1 MB, free: 4.621 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3048, allocations: 84 kB / 433.2 MB, free: 4.539 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.305, allocations: 100 kB / 433.3 MB, free: 4.441 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.3053, allocations: 215 kB / 433.5 MB, free: 4.23 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.3057, allocations: 0.4893 MB / 434 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001283/0.307, allocations: 1.187 MB / 435.2 MB, free: 2.551 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.307, allocations: 7.938 kB / 435.2 MB, free: 2.543 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.482e-06/0.307, allocations: 0 / 435.2 MB, free: 2.543 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.457e-05/0.307, allocations: 0 / 435.2 MB, free: 2.543 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: 252
 * Number of variables: 252
Notification: Performance of Generate backend data structure: time 0.002124/0.3091, allocations: 1.267 MB / 436.5 MB, free: 1.242 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3092, allocations: 8.031 kB / 436.5 MB, free: 1.234 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.3094, allocations: 131.2 kB / 436.6 MB, free: 1.105 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.3106, allocations: 0.5665 MB / 437.2 MB, free: 0.5117 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.3107, allocations: 81.94 kB / 437.2 MB, free: 440 kB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3108, allocations: 96 kB / 437.3 MB, free: 344 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.3127, allocations: 1.031 MB / 438.4 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.3128, allocations: 11.94 kB / 438.4 MB, free: 15.17 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.3128, allocations: 47.94 kB / 438.4 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.3129, allocations: 24 kB / 438.4 MB, free: 15.1 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3141, allocations: 0.5539 MB / 439 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006045/0.3201, allocations: 5.417 MB / 444.4 MB, free: 8.844 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.3207, allocations: 232.9 kB / 444.6 MB, free: 8.598 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.3211, allocations: 149.6 kB / 444.8 MB, free: 8.445 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.3212, allocations: 23.91 kB / 444.8 MB, free: 8.422 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3212, allocations: 30.56 kB / 444.8 MB, free: 8.383 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.3212, allocations: 0 / 444.8 MB, free: 8.383 MB / 350.1 MB
Notification: Performance of matching and sorting (n=40): time 0.004174/0.3254, allocations: 1.584 MB / 446.4 MB, free: 6.742 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.3255, allocations: 85.05 kB / 446.5 MB, free: 6.641 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.3263, allocations: 0.6373 MB / 447.1 MB, free: 5.992 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.3263, allocations: 33.7 kB / 447.2 MB, free: 5.953 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.3268, allocations: 0.6122 MB / 447.8 MB, free: 5.332 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3269, allocations: 166.6 kB / 448 MB, free: 5.168 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.3271, allocations: 138.6 kB / 448.1 MB, free: 5.027 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002094/0.3273, allocations: 382.8 kB / 448.5 MB, free: 4.645 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.3277, allocations: 149.9 kB / 448.6 MB, free: 4.5 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.3283, allocations: 0.4933 MB / 449.1 MB, free: 3.848 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3293, allocations: 0.6947 MB / 449.8 MB, free: 2.992 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.3293, allocations: 8 kB / 449.8 MB, free: 2.984 MB / 350.1 MB
Notification: Performance of matching and sorting (n=96) (initialization): time 0.001296/0.3306, allocations: 0.7078 MB / 450.5 MB, free: 2.27 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.3306, allocations: 12 kB / 450.5 MB, free: 2.258 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3307, allocations: 12 kB / 450.5 MB, free: 2.246 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.3307, allocations: 16 kB / 450.6 MB, free: 2.23 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.3314, allocations: 204.2 kB / 450.8 MB, free: 2.031 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.831e-05/0.3315, allocations: 23.88 kB / 450.8 MB, free: 2.008 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.3319, allocations: 35.98 kB / 450.8 MB, free: 1.973 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.3319, allocations: 40 kB / 450.9 MB, free: 1.934 MB / 350.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.0003929/0.3323, allocations: 229.7 kB / 451.1 MB, free: 1.699 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3325, allocations: 83.42 kB / 451.2 MB, free: 1.617 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.3326, allocations: 70.64 kB / 451.2 MB, free: 1.547 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3326, allocations: 4 kB / 451.2 MB, free: 1.543 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.3326, allocations: 7.938 kB / 451.2 MB, free: 1.535 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3326, allocations: 3.984 kB / 451.2 MB, free: 1.531 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.3351, allocations: 1.281 MB / 452.5 MB, free: 188 kB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3351, allocations: 0 / 452.5 MB, free: 188 kB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.3357, allocations: 95.88 kB / 452.6 MB, free: 92 kB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.3357, allocations: 4 kB / 452.6 MB, free: 88 kB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.3357, allocations: 19.92 kB / 452.6 MB, free: 68 kB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.3357, allocations: 8.094 kB / 452.6 MB, free: 60 kB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.3357, allocations: 8 kB / 452.7 MB, free: 52 kB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3369, allocations: 0.697 MB / 453.4 MB, free: 15.32 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.337, allocations: 71.45 kB / 453.4 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.3371, allocations: 12 kB / 453.4 MB, free: 15.24 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.3374, allocations: 19.98 kB / 453.5 MB, free: 15.22 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.3375, allocations: 39.88 kB / 453.5 MB, free: 15.18 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.3375, allocations: 12 kB / 453.5 MB, free: 15.17 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0005355/0.338, allocations: 419 kB / 453.9 MB, free: 14.77 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.338, allocations: 0 / 453.9 MB, free: 14.77 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.000724/0.3388, allocations: 136 kB / 454 MB, free: 14.64 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.0001612/0.3389, allocations: 115.2 kB / 454.2 MB, free: 14.52 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009287/0.3399, allocations: 425.9 kB / 454.6 MB, free: 14.1 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3399, allocations: 0 / 454.6 MB, free: 14.1 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.3402, allocations: 146.3 kB / 454.7 MB, free: 13.96 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.3407, allocations: 75.3 kB / 454.8 MB, free: 13.88 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.3437, allocations: 1.697 MB / 456.5 MB, free: 12.13 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.3444, allocations: 1 MB / 457.5 MB, free: 11.1 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0003136/0.3447, allocations: 94.02 kB / 457.6 MB, free: 11.01 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3449, allocations: 59.42 kB / 457.6 MB, free: 10.95 MB / 366.1 MB
Notification: Performance of SimCode: time 8.62e-07/0.3449, allocations: 0 / 457.6 MB, free: 10.95 MB / 366.1 MB
Notification: Performance of Templates: time 0.01359/0.3585, allocations: 5.503 MB / 463.1 MB, free: 5.461 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.751093779690564]