Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001386/0.001386, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.001756/0.001756, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 57.64 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3155, allocations: 49.16 MB / 396.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003962/0.3195, allocations: 2.788 MB / 399.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3215, allocations: 1.134 MB / 400.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.3217, allocations: 8.625 kB / 400.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.3222, allocations: 162.3 kB / 400.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.3226, allocations: 191.3 kB / 401.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.323, allocations: 142.9 kB / 401.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.3234, allocations: 454.6 kB / 401.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3236, allocations: 71.23 kB / 401.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.3238, allocations: 188.2 kB / 402 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.324, allocations: 176.4 kB / 402.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.3241, allocations: 29 kB / 402.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3243, allocations: 71.69 kB / 402.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.3244, allocations: 87.52 kB / 402.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.3245, allocations: 149.9 kB / 402.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.325, allocations: 468.7 kB / 402.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.325, allocations: 0 / 402.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.325, allocations: 0 / 402.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.325, allocations: 1.094 kB / 402.9 MB, free: 5.766 MB / 318.1 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.00078/0.3258, allocations: 0.6312 MB / 403.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.3258, allocations: 12.7 kB / 403.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.3259, allocations: 48.06 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3263, allocations: 255.7 kB / 403.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3263, allocations: 17.91 kB / 403.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.3264, allocations: 29.16 kB / 403.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.3268, allocations: 0.521 MB / 404.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3269, allocations: 10.3 kB / 404.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3269, allocations: 11.66 kB / 404.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3269, allocations: 6.125 kB / 404.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.3272, allocations: 175 kB / 404.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.3283, allocations: 0.7029 MB / 405.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.3288, allocations: 251.9 kB / 405.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.329, allocations: 91.84 kB / 405.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.329, allocations: 4.625 kB / 405.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.3293, allocations: 273.1 kB / 405.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.3293, allocations: 0 / 405.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002113/0.3315, allocations: 1.104 MB / 407 MB, free: 3.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3315, allocations: 190.5 kB / 407.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3319, allocations: 350.5 kB / 407.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.3319, allocations: 33.39 kB / 407.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.332, allocations: 190.6 kB / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.3321, allocations: 147.9 kB / 407.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3322, allocations: 74.19 kB / 408 MB, free: 2.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.3323, allocations: 347.5 kB / 408.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.3325, allocations: 87.62 kB / 408.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3327, allocations: 314.3 kB / 408.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.3331, allocations: 250.6 kB / 409 MB, free: 1.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3331, allocations: 1.344 kB / 409 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005442/0.3336, allocations: 363.5 kB / 409.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3337, allocations: 5.438 kB / 409.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3337, allocations: 5.375 kB / 409.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.019e-05/0.3337, allocations: 16.19 kB / 409.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.334, allocations: 95.25 kB / 409.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000773/0.3348, allocations: 1.258 MB / 410.7 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.335, allocations: 15.64 kB / 410.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.335, allocations: 21.88 kB / 410.7 MB, free: 16 kB / 318.1 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.0002384/0.3353, allocations: 167.6 kB / 410.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.3353, allocations: 40.61 kB / 410.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.336, allocations: 348.2 kB / 411.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.336, allocations: 4.188 kB / 411.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.336, allocations: 4.719 kB / 411.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007479/0.3368, allocations: 0.6691 MB / 412 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.3381, allocations: 0.7355 MB / 412.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3381, allocations: 1.125 kB / 412.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.3385, allocations: 81.81 kB / 412.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3385, allocations: 7.188 kB / 412.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.3385, allocations: 9.922 kB / 412.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3385, allocations: 3.375 kB / 412.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3385, allocations: 1.344 kB / 412.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.3394, allocations: 0.5603 MB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3395, allocations: 66.75 kB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.3396, allocations: 16.77 kB / 413.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3398, allocations: 13.45 kB / 413.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.3398, allocations: 31.91 kB / 413.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.3399, allocations: 14.69 kB / 413.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.3402, allocations: 255 kB / 413.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3402, allocations: 0 / 413.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.3406, allocations: 93.62 kB / 413.8 MB, free: 14.04 MB / 334.1 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.001833/0.3424, allocations: 468.8 kB / 414.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.3432, allocations: 365.4 kB / 414.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3432, allocations: 1.781 kB / 414.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.3434, allocations: 135.9 kB / 414.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.344, allocations: 94.59 kB / 414.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.346, allocations: 1.046 MB / 415.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3462, allocations: 209.3 kB / 416.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.3464, allocations: 46.44 kB / 416.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.3465, allocations: 40.86 kB / 416.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3465, allocations: 0 / 416.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Templates: time 0.01242/0.359, allocations: 5.93 MB / 422.2 MB, free: 9.035 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.977884313091636]