Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 79.73 kB / 21.97 MB, free: 2.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 169 kB / 25.33 MB, free: 9.023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8334/0.8334, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 251 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.518e-05, allocations: 6.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003221/0.003236, allocations: 3.71 MB / 254.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.00504, allocations: 1.43 MB / 256.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.005221, allocations: 8 kB / 256.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.006334, allocations: 0.8049 MB / 257 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.006948, allocations: 405.8 kB / 257.4 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.007522, allocations: 0.5292 MB / 257.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.007857, allocations: 0.5015 MB / 258.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.008293, allocations: 430.2 kB / 258.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.008569, allocations: 323.3 kB / 259.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.008782, allocations: 219.4 kB / 259.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.008827, allocations: 44 kB / 259.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.009057, allocations: 211.7 kB / 259.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.009117, allocations: 123.5 kB / 259.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.009222, allocations: 171.5 kB / 259.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.009663, allocations: 0.5176 MB / 260.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009665, allocations: 0 / 260.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.009666, allocations: 0 / 260.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.009675, allocations: 0 / 260.4 MB, free: 10.18 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001291/0.01097, allocations: 0.9873 MB / 261.4 MB, free: 9.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.011, allocations: 11.98 kB / 261.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.01314, allocations: 0.738 MB / 262.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.01343, allocations: 256 kB / 262.4 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.01346, allocations: 45.69 kB / 262.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.01352, allocations: 64.3 kB / 262.5 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.01407, allocations: 457.4 kB / 263 MB, free: 7.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.01409, allocations: 8.172 kB / 263 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.01413, allocations: 23.94 kB / 263 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.01414, allocations: 12 kB / 263 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.01465, allocations: 379.6 kB / 263.4 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.01639, allocations: 1.58 MB / 265 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.01732, allocations: 0.6664 MB / 265.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.01754, allocations: 185 kB / 265.8 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.01758, allocations: 16.44 kB / 265.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.01761, allocations: 41.89 kB / 265.9 MB, free: 4.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.955e-06/0.01761, allocations: 3.938 kB / 265.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008477/0.01846, allocations: 0.5081 MB / 266.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.01849, allocations: 59.91 kB / 266.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.01865, allocations: 237.8 kB / 266.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.01868, allocations: 33.7 kB / 266.7 MB, free: 3.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01881, allocations: 295.5 kB / 267 MB, free: 3.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.0189, allocations: 174.5 kB / 267.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.01902, allocations: 107.9 kB / 267.3 MB, free: 3.125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01917, allocations: 0.5117 MB / 267.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.0193, allocations: 89.25 kB / 267.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.01951, allocations: 261.9 kB / 268.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.01986, allocations: 392.8 kB / 268.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01986, allocations: 0 / 268.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000551/0.02041, allocations: 489 kB / 269 MB, free: 1.254 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.02043, allocations: 4 kB / 269 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02043, allocations: 4 kB / 269 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.02069, allocations: 87.66 kB / 269.1 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.02091, allocations: 111.8 kB / 269.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.02202, allocations: 2.002 MB / 271.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.02216, allocations: 55.61 kB / 271.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.02218, allocations: 20 kB / 271.3 MB, free: 14.85 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.0223, allocations: 192.4 kB / 271.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.02235, allocations: 43.86 kB / 271.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.02287, allocations: 428.8 kB / 271.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.02287, allocations: 7.938 kB / 271.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.02287, allocations: 0 / 271.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.02288, allocations: 11.92 kB / 271.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/0.02378, allocations: 0.946 MB / 272.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.02379, allocations: 3.984 kB / 272.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.02396, allocations: 79.91 kB / 272.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.02415, allocations: 87.67 kB / 273 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.02417, allocations: 12 kB / 273 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.02525, allocations: 2.002 MB / 275 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.02526, allocations: 7.922 kB / 275.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.02605, allocations: 0.6418 MB / 275.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.02608, allocations: 39.67 kB / 275.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.02611, allocations: 12 kB / 275.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.02622, allocations: 16 kB / 275.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.02627, allocations: 40.48 kB / 275.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.02629, allocations: 16 kB / 275.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.781e-05/0.02637, allocations: 172.1 kB / 276 MB, free: 9.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02637, allocations: 0 / 276 MB, free: 9.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003041/0.02667, allocations: 159.7 kB / 276.1 MB, free: 9.727 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (46): * Single equations (assignments): 45 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.02682, allocations: 139.1 kB / 276.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.02736, allocations: 0.5242 MB / 276.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.02736, allocations: 4.062 kB / 276.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.02764, allocations: 381 kB / 277.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.02785, allocations: 35.98 kB / 277.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.02889, allocations: 0.807 MB / 278 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.02896, allocations: 114.6 kB / 278.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.02907, allocations: 46.95 kB / 278.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.02913, allocations: 40.48 kB / 278.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02913, allocations: 4 kB / 278.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of Templates: time 0.006512/0.03564, allocations: 4.67 MB / 282.9 MB, free: 2.883 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.659599277190864]