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.0008953/0.0008953, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001901, allocations: 457.8 kB / 10.45 MB, free: 244 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.000682/0.000682, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009934/0.001675, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.125/1.125, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1112/1.236, allocations: 53.87 MB / 243.9 MB, free: 14.86 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 2.014e-06/2.014e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.44e-05, allocations: 2.312 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005168/0.005182, allocations: 5.128 MB / 250.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.007556, allocations: 1.577 MB / 251.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.007906, allocations: 35.69 kB / 252 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.008299, allocations: 233.6 kB / 252.2 MB, free: 6.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.00866, allocations: 225.6 kB / 252.4 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.009384, allocations: 411.2 kB / 252.8 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.01043, allocations: 1.13 MB / 254 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.01088, allocations: 332.8 kB / 254.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000835/0.01172, allocations: 0.6358 MB / 254.9 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.01201, allocations: 298.9 kB / 255.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.936e-05/0.01211, allocations: 84 kB / 255.3 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.01229, allocations: 99.98 kB / 255.4 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.381e-05/0.01238, allocations: 159.3 kB / 255.6 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.01256, allocations: 267.2 kB / 255.8 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.01316, allocations: 0.735 MB / 256.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.01317, allocations: 0 / 256.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01317, allocations: 0 / 256.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.01319, allocations: 4 kB / 256.6 MB, free: 2.152 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.001737/0.01493, allocations: 1.469 MB / 258 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.01496, allocations: 15.97 kB / 258 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.01525, allocations: 253 kB / 258.3 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.01586, allocations: 0.5355 MB / 258.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.01591, allocations: 74 kB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.01598, allocations: 99.98 kB / 259 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.01677, allocations: 0.9287 MB / 259.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.01679, allocations: 7.891 kB / 259.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.01683, allocations: 44 kB / 260 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.01685, allocations: 28 kB / 260 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.01721, allocations: 305.3 kB / 260.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.02016, allocations: 4.8 MB / 265.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.0204, allocations: 156.9 kB / 265.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.02051, allocations: 97.61 kB / 265.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.884e-05/0.02057, allocations: 15.98 kB / 265.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.02059, allocations: 34.56 kB / 265.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.02059, allocations: 0 / 265.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001779/0.02237, allocations: 1.082 MB / 266.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.0224, allocations: 88.97 kB / 266.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.02274, allocations: 0.605 MB / 267.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.02275, allocations: 29.7 kB / 267.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.02297, allocations: 0.5353 MB / 267.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.02306, allocations: 154.7 kB / 267.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.02317, allocations: 142.5 kB / 268 MB, free: 6.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.02328, allocations: 394.6 kB / 268.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.02334, allocations: 57.97 kB / 268.5 MB, free: 5.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.02356, allocations: 421.3 kB / 268.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.02396, allocations: 0.594 MB / 269.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02396, allocations: 3.938 kB / 269.5 MB, free: 4.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004364/0.0244, allocations: 477 kB / 269.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.02441, allocations: 8 kB / 269.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.02443, allocations: 12 kB / 270 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.02445, allocations: 16.78 kB / 270 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.02484, allocations: 235.6 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.02486, allocations: 19.94 kB / 270.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.02502, allocations: 31.98 kB / 270.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.02505, allocations: 32 kB / 270.3 MB, free: 3.469 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.0001375/0.02518, allocations: 169.4 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.02525, allocations: 55.94 kB / 270.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.02532, allocations: 78.62 kB / 270.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.02533, allocations: 7.984 kB / 270.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.02533, allocations: 0 / 270.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02533, allocations: 0 / 270.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.02634, allocations: 0.7862 MB / 271.4 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02634, allocations: 0 / 271.4 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.0266, allocations: 124 kB / 271.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.02665, allocations: 71.41 kB / 271.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.02666, allocations: 4 kB / 271.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.02667, allocations: 8 kB / 271.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.02668, allocations: 3.938 kB / 271.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02668, allocations: 4 kB / 271.6 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.02703, allocations: 466.1 kB / 272 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.02706, allocations: 12 kB / 272.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.02718, allocations: 23.92 kB / 272.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.02722, allocations: 27.95 kB / 272.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.02723, allocations: 11.98 kB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.02741, allocations: 276.5 kB / 272.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02741, allocations: 0 / 272.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.02774, allocations: 136 kB / 272.5 MB, free: 1.141 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.234e-05/0.02783, allocations: 88.34 kB / 272.6 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.02811, allocations: 311.2 kB / 272.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.031e-05/0.02813, allocations: 20.53 kB / 272.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.02824, allocations: 119.9 kB / 273 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.02872, allocations: 0.5165 MB / 273.6 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.03209, allocations: 1.686 MB / 275.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.0322, allocations: 182.4 kB / 275.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.03236, allocations: 94.16 kB / 275.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.03254, allocations: 167.3 kB / 275.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03254, allocations: 0 / 275.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of Templates: time 0.01035/0.04289, allocations: 5.007 MB / 280.7 MB, free: 8.898 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8217999739572406]