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.0009316/0.0009316, allocations: 88.3 kB / 22.21 MB, free: 2.285 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.001/0.001, allocations: 174.5 kB / 25.61 MB, free: 8.906 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.9828/0.9828, allocations: 158.6 MB / 187.5 MB, free: 2.805 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.593e-06/1.593e-06, allocations: 0 / 251.4 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.761e-05, allocations: 6.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002967/0.002984, allocations: 2.965 MB / 254.4 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004339, allocations: 1.166 MB / 255.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.004462, allocations: 7.938 kB / 255.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.004846, allocations: 163 kB / 255.8 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.005163, allocations: 198.7 kB / 255.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.00549, allocations: 147.6 kB / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.005875, allocations: 457.7 kB / 256.5 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.006008, allocations: 75.95 kB / 256.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.006205, allocations: 255.3 kB / 256.9 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.006379, allocations: 155.6 kB / 257 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.006417, allocations: 28 kB / 257 MB, free: 1.641 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.006516, allocations: 63.98 kB / 257.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.00659, allocations: 91.66 kB / 257.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.006689, allocations: 127.6 kB / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.007002, allocations: 330.8 kB / 257.6 MB, free: 1.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007004, allocations: 0 / 257.6 MB, free: 1.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.007004, allocations: 0 / 257.6 MB, free: 1.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.007008, allocations: 0 / 257.6 MB, free: 1.035 MB / 234.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.0008001/0.007808, allocations: 0.7302 MB / 258.4 MB, free: 276 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.007846, allocations: 11.98 kB / 258.4 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.007917, allocations: 76.59 kB / 258.5 MB, free: 188 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.008179, allocations: 256.5 kB / 258.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.008205, allocations: 20.88 kB / 258.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.008243, allocations: 28.38 kB / 258.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.008597, allocations: 499.6 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.00861, allocations: 3.938 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.008629, allocations: 12 kB / 259.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.008636, allocations: 8 kB / 259.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.008744, allocations: 83.39 kB / 259.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.009452, allocations: 0.6919 MB / 260 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.009695, allocations: 172.4 kB / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.009755, allocations: 56.2 kB / 260.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.009779, allocations: 8.281 kB / 260.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.009946, allocations: 241.3 kB / 260.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.009948, allocations: 0 / 260.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001309/0.01126, allocations: 0.8413 MB / 261.3 MB, free: 13.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.01132, allocations: 191.9 kB / 261.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.01152, allocations: 354.1 kB / 261.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01154, allocations: 33.7 kB / 261.9 MB, free: 12.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01165, allocations: 255.4 kB / 262.2 MB, free: 12.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.01172, allocations: 138.8 kB / 262.3 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.0118, allocations: 87.77 kB / 262.4 MB, free: 11.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01193, allocations: 0.5234 MB / 262.9 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.01197, allocations: 36.97 kB / 262.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.01211, allocations: 290.6 kB / 263.2 MB, free: 10.96 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.01226, allocations: 172.3 kB / 263.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01226, allocations: 4 kB / 263.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002516/0.01252, allocations: 265.6 kB / 263.7 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01253, allocations: 8 kB / 263.7 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01254, allocations: 3.938 kB / 263.7 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.533e-05/0.01259, allocations: 23.61 kB / 263.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.01277, allocations: 87.91 kB / 263.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006809/0.01345, allocations: 1.713 MB / 265.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.01355, allocations: 19.92 kB / 265.5 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01357, allocations: 12 kB / 265.5 MB, free: 8.523 MB / 250.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.0001015/0.01367, allocations: 180.5 kB / 265.7 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.01371, allocations: 59.66 kB / 265.8 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.01397, allocations: 268.6 kB / 266 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01397, allocations: 8 kB / 266 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01397, allocations: 0 / 266 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002746/0.01425, allocations: 0.5788 MB / 266.6 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.0148, allocations: 0.6725 MB / 267.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0148, allocations: 0 / 267.3 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.01498, allocations: 83.89 kB / 267.4 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01498, allocations: 128 / 267.4 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.01499, allocations: 16 kB / 267.4 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.015, allocations: 4 kB / 267.4 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.015, allocations: 0 / 267.4 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.01534, allocations: 0.4958 MB / 267.9 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.01541, allocations: 63.66 kB / 267.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.01544, allocations: 12 kB / 268 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.01555, allocations: 15.98 kB / 268 MB, free: 5.859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.01559, allocations: 27.89 kB / 268 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.0156, allocations: 16 kB / 268 MB, free: 5.816 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000355/0.01596, allocations: 234.9 kB / 268.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01596, allocations: 0 / 268.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.0162, allocations: 92 kB / 268.3 MB, free: 5.5 MB / 250.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.0007446/0.01694, allocations: 407.1 kB / 268.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.01724, allocations: 353.7 kB / 269.1 MB, free: 4.781 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01724, allocations: 0 / 269.1 MB, free: 4.781 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.01734, allocations: 107.4 kB / 269.2 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.01767, allocations: 113.4 kB / 269.3 MB, free: 4.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.01883, allocations: 0.8829 MB / 270.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.271e-05/0.01889, allocations: 109.8 kB / 270.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.899e-05/0.01899, allocations: 39.27 kB / 270.3 MB, free: 3.457 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.0192, allocations: 198.1 kB / 270.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0192, allocations: 0 / 270.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of Templates: time 0.00768/0.02688, allocations: 6.006 MB / 276.5 MB, free: 13.26 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",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.7563111488707364]