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.001962/0.001962, allocations: 113.1 kB / 21.93 MB, free: 5.223 MB / 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.002306/0.002306, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.527/1.527, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.001983/0.001983, allocations: 67.11 kB / 348.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00429/0.3201, allocations: 2.791 MB / 400.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.3222, allocations: 1.135 MB / 401.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.3224, allocations: 12.25 kB / 401.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.323, allocations: 157.9 kB / 401.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.3235, allocations: 190.9 kB / 401.9 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.3239, allocations: 155.2 kB / 402 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.3245, allocations: 447.8 kB / 402.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3247, allocations: 70.7 kB / 402.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.3249, allocations: 184.5 kB / 402.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3252, allocations: 180.8 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.3252, allocations: 27.88 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3254, allocations: 72.42 kB / 403 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3255, allocations: 83.06 kB / 403.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3256, allocations: 154.6 kB / 403.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.3262, allocations: 467.4 kB / 403.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3262, allocations: 5.281 kB / 403.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3262, allocations: 0 / 403.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3262, allocations: 0 / 403.7 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.000925/0.3271, allocations: 0.6232 MB / 404.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3272, allocations: 12.86 kB / 404.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.3272, allocations: 47.95 kB / 404.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.3277, allocations: 266.3 kB / 404.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3277, allocations: 15.34 kB / 404.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.3278, allocations: 33.11 kB / 404.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.3283, allocations: 0.5181 MB / 405.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3283, allocations: 1.781 kB / 405.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3283, allocations: 11.81 kB / 405.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3283, allocations: 6.031 kB / 405.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.3287, allocations: 175.2 kB / 405.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.3298, allocations: 0.7112 MB / 406.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.3303, allocations: 246.7 kB / 406.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.3305, allocations: 92.48 kB / 406.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.3305, allocations: 5.297 kB / 406.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.3308, allocations: 271.7 kB / 406.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.3308, allocations: 0 / 406.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002122/0.333, allocations: 1.101 MB / 407.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.333, allocations: 185.9 kB / 408 MB, free: 2.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.3334, allocations: 349.7 kB / 408.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.3334, allocations: 37.17 kB / 408.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3335, allocations: 191.6 kB / 408.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.3337, allocations: 150.9 kB / 408.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.3338, allocations: 74.77 kB / 408.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3339, allocations: 348 kB / 409.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.3341, allocations: 90.72 kB / 409.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.3344, allocations: 312.3 kB / 409.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.3348, allocations: 250.4 kB / 409.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3348, allocations: 0 / 409.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005729/0.3353, allocations: 363.1 kB / 410.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3354, allocations: 5.688 kB / 410.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3354, allocations: 2.5 kB / 410.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.855e-05/0.3355, allocations: 20.36 kB / 410.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.3359, allocations: 89.64 kB / 410.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007914/0.3367, allocations: 1.258 MB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.337, allocations: 15.84 kB / 411.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.337, allocations: 17.16 kB / 411.5 MB, free: 32 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.0002984/0.3373, allocations: 171.6 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.3374, allocations: 39.58 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.3381, allocations: 342.5 kB / 412 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3381, allocations: 3.969 kB / 412 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3381, allocations: 9.469 kB / 412 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007511/0.3388, allocations: 0.6677 MB / 412.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.3401, allocations: 0.7397 MB / 413.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3401, allocations: 1.25 kB / 413.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.3405, allocations: 78.48 kB / 413.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3405, allocations: 2.25 kB / 413.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.3405, allocations: 13.27 kB / 413.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.3405, allocations: 6.766 kB / 413.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3405, allocations: 5.906 kB / 413.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.3413, allocations: 0.5568 MB / 414.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3415, allocations: 66.81 kB / 414.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.3415, allocations: 9.375 kB / 414.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.3418, allocations: 25.36 kB / 414.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.3419, allocations: 27.52 kB / 414.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.3419, allocations: 15.11 kB / 414.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003134/0.3422, allocations: 254.1 kB / 414.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 5.188 kB / 414.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.3426, allocations: 91.05 kB / 414.6 MB, free: 14.05 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.001745/0.3444, allocations: 461.8 kB / 415.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.3451, allocations: 366.6 kB / 415.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3451, allocations: 2.125 kB / 415.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.3453, allocations: 134.5 kB / 415.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.3459, allocations: 94.94 kB / 415.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.348, allocations: 1.081 MB / 416.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3482, allocations: 208.8 kB / 416.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3484, allocations: 34.44 kB / 417 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3484, allocations: 0 / 417 MB, free: 12.5 MB / 334.1 MB Notification: Performance of Templates: time 0.0128/0.3612, allocations: 5.927 MB / 422.9 MB, free: 9.082 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/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: 8.352086123079062]