Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0007273/0.0007273, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009431/0.00167, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006654/0.0006654, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008554/0.001521, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9355/0.9355, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08289/1.018, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.992e-05, allocations: 2.312 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.0063/0.00633, allocations: 5.125 MB / 250.2 MB, free: 8.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.009256, allocations: 1.577 MB / 251.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.009646, allocations: 35.69 kB / 251.8 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.01004, allocations: 233.6 kB / 252 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.0105, allocations: 209.7 kB / 252.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.01126, allocations: 427.2 kB / 252.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.01236, allocations: 1.122 MB / 253.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.01289, allocations: 340.8 kB / 254.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008788/0.01377, allocations: 0.6358 MB / 254.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.01415, allocations: 294.9 kB / 255 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.01423, allocations: 84 kB / 255.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.01439, allocations: 108 kB / 255.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.01447, allocations: 159.3 kB / 255.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.01464, allocations: 267.2 kB / 255.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.01517, allocations: 0.7311 MB / 256.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.01519, allocations: 0 / 256.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01519, allocations: 0 / 256.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.01521, allocations: 0 / 256.3 MB, free: 2.234 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001214/0.01642, allocations: 1.469 MB / 257.8 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.01645, allocations: 12.03 kB / 257.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.0167, allocations: 253 kB / 258.1 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.01729, allocations: 0.5395 MB / 258.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.01732, allocations: 81.97 kB / 258.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.0174, allocations: 96 kB / 258.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.01812, allocations: 0.9247 MB / 259.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.01814, allocations: 15.88 kB / 259.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.01818, allocations: 48 kB / 259.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.01819, allocations: 24 kB / 259.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.01853, allocations: 301.3 kB / 260.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.02099, allocations: 4.796 MB / 264.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.02123, allocations: 165 kB / 265.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.995e-05/0.02133, allocations: 81.69 kB / 265.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.717e-05/0.02139, allocations: 15.98 kB / 265.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.02141, allocations: 38.56 kB / 265.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.02141, allocations: 0 / 265.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001681/0.0231, allocations: 1.088 MB / 266.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.02313, allocations: 84.97 kB / 266.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.02345, allocations: 0.6088 MB / 267 MB, free: 7.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.02347, allocations: 33.7 kB / 267 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.02367, allocations: 0.5314 MB / 267.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.02374, allocations: 154.7 kB / 267.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.02383, allocations: 138.5 kB / 267.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.02393, allocations: 394.5 kB / 268.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.02399, allocations: 69.89 kB / 268.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.02419, allocations: 413.3 kB / 268.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.02452, allocations: 0.5512 MB / 269.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.02452, allocations: 4 kB / 269.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003674/0.02489, allocations: 469.2 kB / 269.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.0249, allocations: 12 kB / 269.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.02491, allocations: 12 kB / 269.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.02493, allocations: 16 kB / 269.7 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.02531, allocations: 232.1 kB / 269.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.02532, allocations: 23.92 kB / 270 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.02548, allocations: 35.98 kB / 270 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.0255, allocations: 39.94 kB / 270 MB, free: 3.586 MB / 266.7 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.0001199/0.02562, allocations: 165.5 kB / 270.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.02568, allocations: 51.94 kB / 270.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.02575, allocations: 74.62 kB / 270.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02575, allocations: 8 kB / 270.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.02575, allocations: 4 kB / 270.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02576, allocations: 3.984 kB / 270.3 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.02649, allocations: 0.7861 MB / 271.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.02649, allocations: 4 kB / 271.1 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.02674, allocations: 121.6 kB / 271.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.02679, allocations: 63.48 kB / 271.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.02679, allocations: 4 kB / 271.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.02681, allocations: 11.98 kB / 271.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.02681, allocations: 7.938 kB / 271.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02682, allocations: 0 / 271.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.02712, allocations: 466.5 kB / 271.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.02715, allocations: 11.94 kB / 271.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.02727, allocations: 20 kB / 271.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.02732, allocations: 35.89 kB / 271.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.02733, allocations: 8 kB / 271.9 MB, free: 1.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.02748, allocations: 272.5 kB / 272.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02748, allocations: 3.938 kB / 272.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.0278, allocations: 143.9 kB / 272.3 MB, free: 1.254 MB / 266.7 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 8.287e-05/0.02789, allocations: 84.36 kB / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.02814, allocations: 289.8 kB / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/0.02816, allocations: 16.44 kB / 272.7 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.02823, allocations: 108 kB / 272.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.02851, allocations: 115.2 kB / 272.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.03156, allocations: 1.686 MB / 274.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.03166, allocations: 182.4 kB / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.03182, allocations: 98.05 kB / 274.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.032, allocations: 171.3 kB / 275 MB, free: 14.44 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.032, allocations: 0 / 275 MB, free: 14.44 MB / 282.7 MB Notification: Performance of Templates: time 0.009049/0.04105, allocations: 5.359 MB / 280.4 MB, free: 9.164 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.5174787789583206]