Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.0007475/0.0007475, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001847, 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.0007008/0.0007008, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009779/0.001679, 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.9636/0.9636, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0885/1.052, allocations: 53.87 MB / 243.8 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.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.47e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004331/0.004356, allocations: 3.064 MB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.006836, allocations: 1.421 MB / 249.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.007008, allocations: 7.938 kB / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.007414, allocations: 143.1 kB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.007937, allocations: 226.5 kB / 249.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.008287, allocations: 139.5 kB / 250 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.008825, allocations: 453.9 kB / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.009002, allocations: 82.88 kB / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.009392, allocations: 306.4 kB / 250.8 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.009636, allocations: 143.6 kB / 251 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.009686, allocations: 28 kB / 251 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.00982, allocations: 59.88 kB / 251 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.00991, allocations: 67.73 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.01004, allocations: 99.81 kB / 251.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.01048, allocations: 298.8 kB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.0105, allocations: 0 / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0105, allocations: 0 / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.01052, allocations: 0 / 251.5 MB, free: 7.145 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009822/0.0115, allocations: 0.6678 MB / 252.2 MB, free: 6.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.01154, allocations: 8.625 kB / 252.2 MB, free: 6.441 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.01163, allocations: 52.89 kB / 252.2 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.01198, allocations: 233.6 kB / 252.4 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.012, allocations: 16.88 kB / 252.5 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.01206, allocations: 32.38 kB / 252.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.0125, allocations: 481.5 kB / 253 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.01252, allocations: 8.125 kB / 253 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.01255, allocations: 12.38 kB / 253 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.01256, allocations: 7.938 kB / 253 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.01272, allocations: 82.27 kB / 253.1 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.01371, allocations: 0.5296 MB / 253.6 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.01406, allocations: 203.3 kB / 253.8 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.01415, allocations: 57.33 kB / 253.9 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.01418, allocations: 8.281 kB / 253.9 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.01444, allocations: 232 kB / 254.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 2.225e-06/0.01444, allocations: 0 / 254.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001686/0.01612, allocations: 0.8259 MB / 254.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.01616, allocations: 59.41 kB / 255 MB, free: 3.375 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.01644, allocations: 300.5 kB / 255.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.01647, allocations: 33.7 kB / 255.3 MB, free: 3.031 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.01656, allocations: 153.4 kB / 255.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.01666, allocations: 150.7 kB / 255.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.01676, allocations: 74.16 kB / 255.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01689, allocations: 350.7 kB / 256 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.01697, allocations: 39.81 kB / 256.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.01714, allocations: 250.4 kB / 256.3 MB, free: 1.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.01737, allocations: 156.9 kB / 256.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.01737, allocations: 0 / 256.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002159/0.01759, allocations: 212.6 kB / 256.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.0176, allocations: 4 kB / 256.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.0176, allocations: 0 / 256.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.287e-05/0.01766, allocations: 24.78 kB / 256.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.01791, allocations: 123 kB / 256.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005697/0.01848, allocations: 1.154 MB / 258 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.01857, allocations: 12 kB / 258 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01859, allocations: 12.12 kB / 258 MB, free: 152 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.01868, allocations: 140.6 kB / 258.1 MB, free: 0 / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.01873, allocations: 43.89 kB / 258.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.01893, allocations: 194.1 kB / 258.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01893, allocations: 4 kB / 258.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01893, allocations: 4 kB / 258.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002272/0.01916, allocations: 0.5359 MB / 258.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.01966, allocations: 0.5448 MB / 259.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01966, allocations: 4 kB / 259.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.0199, allocations: 99.88 kB / 259.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.01997, allocations: 43.69 kB / 259.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01998, allocations: 4.062 kB / 259.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01999, allocations: 8 kB / 259.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.02, allocations: 11.92 kB / 259.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02, allocations: 0 / 259.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.02031, allocations: 427.4 kB / 260 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.02034, allocations: 8 kB / 260 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.02044, allocations: 19.98 kB / 260.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.02047, allocations: 27.89 kB / 260.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.02049, allocations: 8 kB / 260.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.744e-05/0.02058, allocations: 119.4 kB / 260.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02058, allocations: 0 / 260.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.02081, allocations: 92 kB / 260.3 MB, free: 13.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001216/0.02203, allocations: 0.5554 MB / 260.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.02234, allocations: 287.5 kB / 261.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/0.02235, allocations: 8 kB / 261.1 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.02244, allocations: 97.36 kB / 261.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.02276, allocations: 137.4 kB / 261.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.02601, allocations: 0.7821 MB / 262.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.02607, allocations: 109.8 kB / 262.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.02621, allocations: 43.27 kB / 262.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.02642, allocations: 165.3 kB / 262.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02642, allocations: 0 / 262.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Templates: time 0.008994/0.03541, allocations: 6.705 MB / 269.2 MB, free: 5.059 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.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.8101790165528655]