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.0008461/0.0008461, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0009233/0.0009233, allocations: 164.2 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.9597/0.9597, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.841e-05, allocations: 6.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004008/0.004036, allocations: 2.785 MB / 302.5 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.006003, allocations: 1.142 MB / 303.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.006191, allocations: 8 kB / 303.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.006709, allocations: 159 kB / 303.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.007168, allocations: 194.8 kB / 304 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.007531, allocations: 155.5 kB / 304.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.00805, allocations: 457.8 kB / 304.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.008217, allocations: 64.02 kB / 304.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.008528, allocations: 255.4 kB / 304.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.008777, allocations: 163.5 kB / 305 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.008829, allocations: 28 kB / 305.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.008962, allocations: 67.92 kB / 305.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.009057, allocations: 87.67 kB / 305.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.009189, allocations: 119.7 kB / 305.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.009715, allocations: 474.3 kB / 305.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.009719, allocations: 3.938 kB / 305.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.009719, allocations: 0 / 305.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.009729, allocations: 0 / 305.8 MB, free: 0.7852 MB / 282.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.0009711/0.0107, allocations: 0.6265 MB / 306.4 MB, free: 128 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01074, allocations: 11.98 kB / 306.4 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.01084, allocations: 48.66 kB / 306.5 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.01127, allocations: 249.6 kB / 306.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.0113, allocations: 20.88 kB / 306.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.01134, allocations: 28.33 kB / 306.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.01188, allocations: 0.5215 MB / 307.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.0119, allocations: 3.938 kB / 307.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.01193, allocations: 15.98 kB / 307.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.01194, allocations: 4 kB / 307.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.01223, allocations: 177.9 kB / 307.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.01331, allocations: 0.7038 MB / 308.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.01379, allocations: 259.9 kB / 308.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.01394, allocations: 89.38 kB / 308.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.01397, allocations: 4.281 kB / 308.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000308/0.01427, allocations: 271.7 kB / 308.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.103e-06/0.01428, allocations: 0 / 308.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001928/0.0162, allocations: 1.107 MB / 309.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.01627, allocations: 183.9 kB / 310.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.01659, allocations: 356.5 kB / 310.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.01662, allocations: 29.7 kB / 310.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.01675, allocations: 188.8 kB / 310.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.01686, allocations: 154.6 kB / 310.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.01696, allocations: 74.2 kB / 310.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01709, allocations: 346.8 kB / 311.2 MB, free: 11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.01727, allocations: 88.95 kB / 311.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.01755, allocations: 314.4 kB / 311.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.01785, allocations: 246.2 kB / 311.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01785, allocations: 0 / 311.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004777/0.01833, allocations: 354.8 kB / 312.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01835, allocations: 8 kB / 312.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.01836, allocations: 8.062 kB / 312.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.551e-05/0.01845, allocations: 20.84 kB / 312.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.01874, allocations: 83.91 kB / 312.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008688/0.01961, allocations: 1.264 MB / 313.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.01977, allocations: 11.98 kB / 313.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.01979, allocations: 16.16 kB / 313.6 MB, free: 8.418 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.0001844/0.01998, allocations: 181.6 kB / 313.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.02003, allocations: 39.77 kB / 313.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005464/0.02058, allocations: 345.7 kB / 314.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.02058, allocations: 4 kB / 314.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.02059, allocations: 0 / 314.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005661/0.02115, allocations: 0.6685 MB / 314.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.02215, allocations: 0.7356 MB / 315.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.02215, allocations: 4.062 kB / 315.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.02244, allocations: 83.89 kB / 315.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.02244, allocations: 3.938 kB / 315.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.02246, allocations: 8 kB / 315.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.02247, allocations: 7.938 kB / 315.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.02247, allocations: 7.922 kB / 315.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.02316, allocations: 0.5517 MB / 316.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.0233, allocations: 59.78 kB / 316.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.02334, allocations: 16.12 kB / 316.3 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.02354, allocations: 23.88 kB / 316.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.02359, allocations: 31.89 kB / 316.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.02362, allocations: 12 kB / 316.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.02386, allocations: 255 kB / 316.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.02386, allocations: 0 / 316.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.02427, allocations: 92 kB / 316.7 MB, free: 5.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.000933/0.0252, allocations: 458.4 kB / 317.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.02582, allocations: 365.8 kB / 317.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.02583, allocations: 3.938 kB / 317.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.02604, allocations: 135.5 kB / 317.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.02653, allocations: 93.47 kB / 317.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.02774, allocations: 0.9263 MB / 318.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.02787, allocations: 207.6 kB / 318.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.02793, allocations: 40.5 kB / 318.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02793, allocations: 0 / 318.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of Templates: time 0.005969/0.0339, allocations: 5.936 MB / 324.9 MB, free: 12.89 MB / 314.7 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.747379524633288]