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.001365/0.001365, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001091/0.001091, allocations: 161 kB / 24.99 MB, free: 8.801 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.929/0.929, allocations: 177 MB / 205.2 MB, free: 5.602 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.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.588e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003614/0.00363, allocations: 3.025 MB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.005514, allocations: 1.378 MB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.00567, allocations: 7.938 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.006096, allocations: 143.1 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.006557, allocations: 226.5 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.006815, allocations: 139.5 kB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.007259, allocations: 461.8 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.007414, allocations: 76.25 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.007663, allocations: 251.4 kB / 278.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.007861, allocations: 151.6 kB / 278.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.007902, allocations: 32 kB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.008009, allocations: 63.92 kB / 278.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.008092, allocations: 79.67 kB / 279 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.008213, allocations: 127.6 kB / 279.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.008588, allocations: 314.8 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00859, allocations: 0 / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00859, allocations: 4 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.008595, allocations: 3.938 kB / 279.4 MB, free: 11.31 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.0008128/0.009408, allocations: 0.7149 MB / 280.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.009441, allocations: 15.92 kB / 280.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.009544, allocations: 68.66 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.00985, allocations: 260.4 kB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.009878, allocations: 24.88 kB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.009926, allocations: 28.38 kB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.01037, allocations: 0.4919 MB / 281 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01038, allocations: 192 / 281 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.01041, allocations: 16.31 kB / 281 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.01042, allocations: 7.938 kB / 281 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.01063, allocations: 110.9 kB / 281.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009763/0.0116, allocations: 0.7421 MB / 281.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.01197, allocations: 201.6 kB / 282.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.01208, allocations: 64.2 kB / 282.1 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.0121, allocations: 12.28 kB / 282.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.01234, allocations: 238.2 kB / 282.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.01234, allocations: 0 / 282.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001591/0.01393, allocations: 0.9575 MB / 283.3 MB, free: 7.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.014, allocations: 195.9 kB / 283.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.01429, allocations: 350.3 kB / 283.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.01432, allocations: 33.7 kB / 283.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.01445, allocations: 247.3 kB / 284.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/0.01455, allocations: 142.8 kB / 284.3 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.01464, allocations: 75.86 kB / 284.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01479, allocations: 0.5235 MB / 284.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01489, allocations: 52.95 kB / 284.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.01511, allocations: 294.7 kB / 285.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.01537, allocations: 196.3 kB / 285.4 MB, free: 4.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01537, allocations: 0 / 285.4 MB, free: 4.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004027/0.01578, allocations: 301.3 kB / 285.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01579, allocations: 10.97 kB / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.0158, allocations: 0 / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.506e-05/0.01587, allocations: 23.81 kB / 285.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.01614, allocations: 99.77 kB / 285.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008647/0.017, allocations: 1.72 MB / 287.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.01714, allocations: 16 kB / 287.6 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.01716, allocations: 12 kB / 287.6 MB, free: 2.492 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.0001292/0.01729, allocations: 192.7 kB / 287.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.01735, allocations: 51.7 kB / 287.8 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.01775, allocations: 273 kB / 288.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01775, allocations: 4 kB / 288.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.01775, allocations: 3.938 kB / 288.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004314/0.01819, allocations: 0.6099 MB / 288.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.01902, allocations: 0.7425 MB / 289.5 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01902, allocations: 0 / 289.5 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.0193, allocations: 83.84 kB / 289.5 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.0193, allocations: 0 / 289.5 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.01932, allocations: 11.98 kB / 289.6 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01933, allocations: 4 kB / 289.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01933, allocations: 7.922 kB / 289.6 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.0199, allocations: 0.5264 MB / 290.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.02, allocations: 55.73 kB / 290.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.02004, allocations: 16.06 kB / 290.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.0202, allocations: 15.98 kB / 290.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.02026, allocations: 27.89 kB / 290.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.02028, allocations: 16 kB / 290.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.02045, allocations: 243 kB / 290.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02045, allocations: 0 / 290.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.02081, allocations: 99.92 kB / 290.6 MB, free: 15.3 MB / 282.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.0008889/0.0217, allocations: 390.8 kB / 290.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008101/0.02251, allocations: 366.8 kB / 291.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.02251, allocations: 4.188 kB / 291.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.02267, allocations: 127.2 kB / 291.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.02313, allocations: 93.66 kB / 291.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.02465, allocations: 0.8986 MB / 292.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.852e-05/0.02472, allocations: 109.8 kB / 292.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.02486, allocations: 47.27 kB / 292.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.02493, allocations: 36.48 kB / 292.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02493, allocations: 0 / 292.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Templates: time 0.008417/0.03335, allocations: 5.565 MB / 298.2 MB, free: 7.82 MB / 282.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 -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.841805632924661]