Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9284/0.9284, allocations: 173.4 MB / 202.3 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.92e-05, allocations: 5.266 kB / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.006236/0.006256, allocations: 2.967 MB / 272.2 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.008286, allocations: 1.239 MB / 273.4 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.008438, allocations: 7.938 kB / 273.4 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.008846, allocations: 147.1 kB / 273.5 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.009216, allocations: 172.6 kB / 273.7 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.009567, allocations: 176.1 kB / 273.9 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.009992, allocations: 451.4 kB / 274.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.01013, allocations: 71.95 kB / 274.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.01038, allocations: 255.3 kB / 274.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.01058, allocations: 147.6 kB / 274.8 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.01062, allocations: 28.72 kB / 274.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.01072, allocations: 59.98 kB / 274.9 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.01081, allocations: 80.89 kB / 275 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.01092, allocations: 123.7 kB / 275.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.01127, allocations: 318.7 kB / 275.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01127, allocations: 0.5 kB / 275.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01127, allocations: 0 / 275.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.01127, allocations: 4 kB / 275.4 MB, free: 3.598 MB / 250.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.0009906/0.01226, allocations: 0.7186 MB / 276.1 MB, free: 2.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.0123, allocations: 12.03 kB / 276.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.01239, allocations: 56.7 kB / 276.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.01268, allocations: 260.5 kB / 276.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.0127, allocations: 20.88 kB / 276.5 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.01275, allocations: 32.31 kB / 276.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.01313, allocations: 483.7 kB / 277 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01314, allocations: 3.938 kB / 277 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.01317, allocations: 12 kB / 277 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.01318, allocations: 8 kB / 277 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.01332, allocations: 91.33 kB / 277.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000879/0.0142, allocations: 0.6997 MB / 277.8 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.01449, allocations: 161.1 kB / 277.9 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.01457, allocations: 60.2 kB / 278 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.01459, allocations: 8.219 kB / 278 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.01478, allocations: 230.3 kB / 278.2 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.01478, allocations: 0 / 278.2 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001294/0.01607, allocations: 0.8529 MB / 279.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.01614, allocations: 183.9 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.01657, allocations: 342.1 kB / 279.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.0166, allocations: 37.7 kB / 279.6 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01672, allocations: 239.4 kB / 279.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.01681, allocations: 142.7 kB / 280 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01691, allocations: 91.77 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01706, allocations: 0.5234 MB / 280.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.01712, allocations: 40.97 kB / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.01729, allocations: 286.6 kB / 280.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.01749, allocations: 172.3 kB / 281.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01749, allocations: 0 / 281.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003241/0.01781, allocations: 269.4 kB / 281.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01783, allocations: 12.03 kB / 281.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01783, allocations: 0 / 281.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.816e-05/0.01789, allocations: 27.61 kB / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.01813, allocations: 83.91 kB / 281.5 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008331/0.01897, allocations: 1.717 MB / 283.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.0191, allocations: 15.98 kB / 283.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.01912, allocations: 12 kB / 283.2 MB, free: 11.14 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.0001271/0.01924, allocations: 180.5 kB / 283.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.0193, allocations: 55.7 kB / 283.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.01964, allocations: 256.5 kB / 283.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01964, allocations: 4 kB / 283.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01965, allocations: 0 / 283.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003626/0.02001, allocations: 0.5863 MB / 284.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.02073, allocations: 0.673 MB / 285 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02073, allocations: 0 / 285 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.02096, allocations: 79.89 kB / 285 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.02097, allocations: 4 kB / 285 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.02099, allocations: 8 kB / 285.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.02099, allocations: 7.938 kB / 285.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02099, allocations: 0 / 285.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.02143, allocations: 0.504 MB / 285.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.02153, allocations: 55.77 kB / 285.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.02157, allocations: 12 kB / 285.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02172, allocations: 15.95 kB / 285.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.02177, allocations: 39.81 kB / 285.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.02179, allocations: 11.94 kB / 285.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.02192, allocations: 226.9 kB / 285.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02192, allocations: 0 / 285.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.02228, allocations: 92 kB / 286 MB, free: 8.137 MB / 266.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.0009491/0.02323, allocations: 402.5 kB / 286.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.02382, allocations: 350 kB / 286.7 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02382, allocations: 0 / 286.7 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.02395, allocations: 111.2 kB / 286.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.0244, allocations: 96.03 kB / 286.9 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.0259, allocations: 0.8849 MB / 287.8 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.073e-05/0.02598, allocations: 105.8 kB / 287.9 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.02612, allocations: 43.25 kB / 288 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.02639, allocations: 198.1 kB / 288.2 MB, free: 6.012 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02639, allocations: 0 / 288.2 MB, free: 6.012 MB / 266.7 MB Notification: Performance of Templates: time 0.009862/0.03625, allocations: 6.124 MB / 294.3 MB, free: 28 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.899203017819673]