Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007644, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003621/0.003621, allocations: 143.5 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8238/0.8238, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.737e-05, allocations: 6.281 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004611/0.004638, allocations: 2.785 MB / 322.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.006834, allocations: 1.215 MB / 323.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.006992, allocations: 11.94 kB / 323.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.007351, allocations: 135.1 kB / 323.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.007676, allocations: 190.7 kB / 324 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.007974, allocations: 170.6 kB / 324.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.008297, allocations: 453.8 kB / 324.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.00842, allocations: 75.94 kB / 324.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.008603, allocations: 255.4 kB / 324.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.008759, allocations: 139.6 kB / 325.1 MB, free: 440 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.008791, allocations: 28 kB / 325.1 MB, free: 412 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.00888, allocations: 67.88 kB / 325.2 MB, free: 344 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.008946, allocations: 87.66 kB / 325.3 MB, free: 256 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.009028, allocations: 119.7 kB / 325.4 MB, free: 136 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.009389, allocations: 450.6 kB / 325.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.009392, allocations: 0 / 325.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009394, allocations: 4 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.009398, allocations: 0 / 325.8 MB, free: 15.68 MB / 298.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.0006699/0.01007, allocations: 0.611 MB / 326.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.0101, allocations: 8.922 kB / 326.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.01016, allocations: 48.7 kB / 326.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.01045, allocations: 249.6 kB / 326.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.01047, allocations: 16.88 kB / 326.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.0105, allocations: 32.36 kB / 326.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.01088, allocations: 0.5137 MB / 327.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.0109, allocations: 3.938 kB / 327.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.01092, allocations: 16 kB / 327.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.01092, allocations: 4 kB / 327.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.01113, allocations: 173.9 kB / 327.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.01188, allocations: 0.7039 MB / 328.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.01223, allocations: 239.9 kB / 328.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01233, allocations: 102.2 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01235, allocations: 4.281 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.01256, allocations: 260.6 kB / 328.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.01256, allocations: 0 / 328.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001346/0.01391, allocations: 1.104 MB / 329.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.01397, allocations: 187.9 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.01419, allocations: 320.6 kB / 330.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.01421, allocations: 37.7 kB / 330.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.0143, allocations: 184.7 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.01437, allocations: 146.7 kB / 330.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.01444, allocations: 86.08 kB / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.01453, allocations: 338.8 kB / 331.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.01463, allocations: 92.95 kB / 331.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.01482, allocations: 310.4 kB / 331.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.01507, allocations: 254.2 kB / 331.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01507, allocations: 0 / 331.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000339/0.01541, allocations: 358.4 kB / 332.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01542, allocations: 4 kB / 332.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01543, allocations: 7.938 kB / 332.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.5e-05/0.01549, allocations: 20.84 kB / 332.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.01567, allocations: 96.02 kB / 332.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006467/0.01631, allocations: 1.252 MB / 333.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.01641, allocations: 20.09 kB / 333.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.01642, allocations: 15.98 kB / 333.6 MB, free: 7.379 MB / 298.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.0001241/0.01655, allocations: 169.8 kB / 333.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.01658, allocations: 47.77 kB / 333.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.01693, allocations: 337.6 kB / 334.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01693, allocations: 4 kB / 334.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.01693, allocations: 4 kB / 334.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003769/0.01731, allocations: 0.6613 MB / 334.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.01797, allocations: 0.7363 MB / 335.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01797, allocations: 128 / 335.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.01814, allocations: 79.91 kB / 335.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01814, allocations: 4 kB / 335.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01816, allocations: 11.98 kB / 335.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.01816, allocations: 7.938 kB / 335.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01816, allocations: 0 / 335.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.01862, allocations: 0.5587 MB / 336.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.0187, allocations: 51.83 kB / 336.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.01872, allocations: 16 kB / 336.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.01883, allocations: 19.92 kB / 336.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.01887, allocations: 27.95 kB / 336.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.01889, allocations: 16 kB / 336.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.01904, allocations: 235 kB / 336.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01904, allocations: 0 / 336.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.01928, allocations: 103.9 kB / 336.6 MB, free: 4.109 MB / 298.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.0006571/0.01994, allocations: 459.5 kB / 337.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.02034, allocations: 362.1 kB / 337.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02034, allocations: 0 / 337.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.02047, allocations: 127.8 kB / 337.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.02079, allocations: 93.41 kB / 337.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.02173, allocations: 0.9136 MB / 338.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.02185, allocations: 195.7 kB / 338.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.02191, allocations: 40.5 kB / 338.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02191, allocations: 0 / 338.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of Templates: time 0.00501/0.02692, allocations: 5.895 MB / 344.7 MB, free: 12.18 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.712768290191889]