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.001066/0.001066, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005467/0.005467, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 18.57 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.8629/0.8629, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.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.433e-06/1.433e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.978e-05, allocations: 7.266 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003057/0.003086, allocations: 2.825 MB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.00478, allocations: 1.352 MB / 329.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.004952, allocations: 7.938 kB / 329.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.005381, allocations: 143.1 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.005864, allocations: 222.5 kB / 330.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.006134, allocations: 147.4 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.006537, allocations: 453.9 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.006952, allocations: 72.12 kB / 331 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.007165, allocations: 255.3 kB / 331.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.00734, allocations: 151.6 kB / 331.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.007376, allocations: 32 kB / 331.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.007478, allocations: 52 kB / 331.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.007559, allocations: 91.66 kB / 331.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.007655, allocations: 123.6 kB / 331.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.008082, allocations: 458.4 kB / 332.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.008087, allocations: 0 / 332.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008088, allocations: 0 / 332.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.008095, allocations: 0 / 332.1 MB, free: 9.039 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.0007712/0.008866, allocations: 0.615 MB / 332.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.008906, allocations: 15.92 kB / 332.7 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.008977, allocations: 48.66 kB / 332.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.009356, allocations: 261.5 kB / 333 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.009376, allocations: 16.88 kB / 333 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.009413, allocations: 28.38 kB / 333.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.009851, allocations: 0.5098 MB / 333.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.009866, allocations: 4.125 kB / 333.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.009893, allocations: 16.38 kB / 333.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.009903, allocations: 15.92 kB / 333.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.01013, allocations: 177.9 kB / 333.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/0.01099, allocations: 0.6961 MB / 334.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.01142, allocations: 247.8 kB / 334.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.01153, allocations: 93.95 kB / 334.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.01155, allocations: 8.266 kB / 334.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.01181, allocations: 264.5 kB / 335.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.01181, allocations: 0 / 335.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001696/0.01351, allocations: 1.106 MB / 336.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.01358, allocations: 199.8 kB / 336.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.01384, allocations: 332.5 kB / 336.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.01386, allocations: 37.7 kB / 336.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.01396, allocations: 184.7 kB / 336.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.01404, allocations: 146.7 kB / 337.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.01411, allocations: 74.19 kB / 337.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.01422, allocations: 350.8 kB / 337.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.01434, allocations: 88.97 kB / 337.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.01454, allocations: 314.3 kB / 337.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.01511, allocations: 250.2 kB / 338.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01511, allocations: 0 / 338.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003519/0.01546, allocations: 358.5 kB / 338.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01548, allocations: 7.984 kB / 338.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01548, allocations: 3.984 kB / 338.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.648e-05/0.01556, allocations: 24.98 kB / 338.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.01575, allocations: 95.83 kB / 338.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007208/0.01647, allocations: 1.256 MB / 339.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.01657, allocations: 16.03 kB / 339.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.01659, allocations: 12 kB / 339.9 MB, free: 0.6836 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.0001343/0.01672, allocations: 165.9 kB / 340.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.01676, allocations: 43.7 kB / 340.1 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.01713, allocations: 338.7 kB / 340.4 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01713, allocations: 8 kB / 340.4 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01713, allocations: 0 / 340.4 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003919/0.01752, allocations: 0.6647 MB / 341.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.01824, allocations: 0.7433 MB / 341.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01824, allocations: 8.125 kB / 341.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.01842, allocations: 79.89 kB / 341.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.01842, allocations: 4 kB / 341.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01844, allocations: 8 kB / 341.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01844, allocations: 3.984 kB / 341.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.01845, allocations: 7.938 kB / 342 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.01891, allocations: 0.5541 MB / 342.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.01899, allocations: 55.8 kB / 342.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.01902, allocations: 12 kB / 342.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01912, allocations: 23.94 kB / 342.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.01917, allocations: 31.89 kB / 342.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.01919, allocations: 12 kB / 342.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.01934, allocations: 247 kB / 342.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01934, allocations: 0 / 342.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01962, allocations: 96 kB / 343 MB, free: 13.4 MB / 314.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.0007194/0.02034, allocations: 446.1 kB / 343.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.02079, allocations: 367.5 kB / 343.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02079, allocations: 0 / 343.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.02093, allocations: 131.5 kB / 343.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.02128, allocations: 85.59 kB / 344 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.02233, allocations: 0.9255 MB / 344.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.02267, allocations: 203.5 kB / 345.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.02273, allocations: 40.5 kB / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02273, allocations: 0 / 345.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Templates: time 0.005455/0.02819, allocations: 5.945 MB / 351.1 MB, free: 5.367 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.844358297996223]