Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.0009525/0.0009525, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009412/0.0009412, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9292/0.9292, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.626e-05, allocations: 2.312 kB / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00466/0.004677, allocations: 3.063 MB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.007504, allocations: 1.398 MB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.007717, allocations: 7.938 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.008189, allocations: 143.1 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.008777, allocations: 226.5 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.009156, allocations: 143.5 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.009734, allocations: 457.8 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.009923, allocations: 78.88 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.01039, allocations: 259.3 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.01072, allocations: 139.6 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.01078, allocations: 32 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.01093, allocations: 52 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.01104, allocations: 83.67 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.0112, allocations: 131.7 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.01168, allocations: 318.7 kB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01168, allocations: 0 / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.01168, allocations: 0 / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.01169, allocations: 4 kB / 280 MB, free: 10.62 MB / 266.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.0007884/0.01248, allocations: 0.59 MB / 280.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.01251, allocations: 12.03 kB / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.01259, allocations: 52.89 kB / 280.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.01291, allocations: 225.6 kB / 280.8 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.01294, allocations: 16.88 kB / 280.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.01299, allocations: 32.36 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.01342, allocations: 481.5 kB / 281.4 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.01344, allocations: 7.891 kB / 281.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.01347, allocations: 12 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.01348, allocations: 8 kB / 281.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.01364, allocations: 78.27 kB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.01463, allocations: 0.5334 MB / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.01495, allocations: 215.3 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.01504, allocations: 45.41 kB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.01506, allocations: 8.266 kB / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.01528, allocations: 235.4 kB / 282.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.01529, allocations: 0 / 282.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001639/0.01692, allocations: 0.8179 MB / 283.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.017, allocations: 187.9 kB / 283.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.01727, allocations: 296.5 kB / 283.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.0173, allocations: 33.69 kB / 283.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.01739, allocations: 157.4 kB / 284 MB, free: 6.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/0.01749, allocations: 142.8 kB / 284.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.01758, allocations: 74.16 kB / 284.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.01769, allocations: 358.7 kB / 284.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.01777, allocations: 35.81 kB / 284.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.01794, allocations: 246.4 kB / 284.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.01816, allocations: 164.9 kB / 285 MB, free: 5.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.01816, allocations: 4 kB / 285 MB, free: 5.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003308/0.01849, allocations: 216.9 kB / 285.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01851, allocations: 4 kB / 285.2 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01851, allocations: 0 / 285.2 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.124e-05/0.01857, allocations: 16.92 kB / 285.2 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.01896, allocations: 123.7 kB / 285.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007798/0.01974, allocations: 1.162 MB / 286.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.01989, allocations: 12 kB / 286.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01991, allocations: 8 kB / 286.5 MB, free: 3.551 MB / 266.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 0.0001272/0.02003, allocations: 140.5 kB / 286.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.02009, allocations: 39.95 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.02041, allocations: 209.9 kB / 286.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02042, allocations: 4 kB / 286.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.02042, allocations: 4.062 kB / 286.9 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003612/0.02078, allocations: 0.528 MB / 287.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.02151, allocations: 0.541 MB / 288 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.02151, allocations: 0 / 288 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.02187, allocations: 99.81 kB / 288.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.02188, allocations: 4 kB / 288.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.0219, allocations: 16.11 kB / 288.1 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.02191, allocations: 3.938 kB / 288.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.02191, allocations: 4 kB / 288.1 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.02236, allocations: 415.2 kB / 288.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.02246, allocations: 43.73 kB / 288.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.02251, allocations: 12 kB / 288.5 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.0227, allocations: 23.98 kB / 288.6 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.02275, allocations: 23.95 kB / 288.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.02277, allocations: 16 kB / 288.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.02292, allocations: 119.4 kB / 288.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02292, allocations: 0 / 288.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003887/0.02331, allocations: 95.94 kB / 288.8 MB, free: 1.035 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.001481/0.02479, allocations: 0.5079 MB / 289.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.02522, allocations: 291.9 kB / 289.6 MB, free: 464 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.02523, allocations: 8.25 kB / 289.6 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.02538, allocations: 96.67 kB / 289.7 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.02584, allocations: 103.6 kB / 289.8 MB, free: 264 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09372/0.1196, allocations: 0.7982 MB / 290.6 MB, free: 24.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.217e-05/0.1196, allocations: 110.4 kB / 290.7 MB, free: 24.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.1198, allocations: 43.83 kB / 290.8 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.1201, allocations: 165.5 kB / 290.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1201, allocations: 0 / 290.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of Templates: time 0.008921/0.129, allocations: 6.281 MB / 297.2 MB, free: 23.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.740390595048666]