Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.002195/0.002195, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.002247/0.002247, allocations: 171.1 kB / 25.03 MB, free: 8.922 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 1.462/1.462, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.356e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.007742/0.007776, allocations: 4.796 MB / 255.2 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.01146, allocations: 1.371 MB / 256.5 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/0.012, allocations: 11.94 kB / 256.5 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.01254, allocations: 154.6 kB / 256.7 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009862/0.01353, allocations: 357.1 kB / 257 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.01416, allocations: 219.6 kB / 257.3 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.01555, allocations: 1.073 MB / 258.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.01597, allocations: 198.3 kB / 258.5 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009245/0.01689, allocations: 0.6042 MB / 259.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.01744, allocations: 327.1 kB / 259.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.01761, allocations: 88 kB / 259.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.01782, allocations: 92 kB / 259.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.01807, allocations: 203.3 kB / 259.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.01855, allocations: 339.2 kB / 260.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.02024, allocations: 1.129 MB / 261.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.02025, allocations: 0 / 261.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.02025, allocations: 0 / 261.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.02027, allocations: 0 / 261.3 MB, free: 12.83 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003015/0.02328, allocations: 1.31 MB / 262.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.02334, allocations: 11.98 kB / 262.6 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.02365, allocations: 148.4 kB / 262.7 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009722/0.02462, allocations: 477.1 kB / 263.2 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.02487, allocations: 152.7 kB / 263.4 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.02501, allocations: 64.38 kB / 263.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.0275, allocations: 1.631 MB / 265.1 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.02753, allocations: 192 / 265.1 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.02761, allocations: 28.12 kB / 265.1 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.02763, allocations: 12 kB / 265.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.02877, allocations: 471.7 kB / 265.6 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/0.03298, allocations: 1.958 MB / 267.5 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.0342, allocations: 483.4 kB / 268 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.03494, allocations: 225.1 kB / 268.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.03502, allocations: 16.48 kB / 268.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008651/0.03588, allocations: 311.8 kB / 268.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 3.126e-06/0.03589, allocations: 4 kB / 268.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.005361/0.04125, allocations: 1.265 MB / 269.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008098/0.04206, allocations: 0.831 MB / 270.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.04326, allocations: 0.7291 MB / 271.4 MB, free: 1.984 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.04339, allocations: 41.7 kB / 271.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.04385, allocations: 427.8 kB / 271.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.04411, allocations: 202.3 kB / 272 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.04439, allocations: 147.9 kB / 272.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/0.04479, allocations: 0.5899 MB / 272.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.04538, allocations: 252.6 kB / 273 MB, free: 308 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.04708, allocations: 1.431 MB / 274.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.04834, allocations: 0.58 MB / 275 MB, free: 13.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.04835, allocations: 0 / 275 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002573/0.05092, allocations: 0.9326 MB / 275.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/0.051, allocations: 59.41 kB / 276 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.05101, allocations: 4 kB / 276 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000784/0.05179, allocations: 223.2 kB / 276.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.05239, allocations: 119.8 kB / 276.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008435/0.06082, allocations: 5.421 MB / 281.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.06174, allocations: 75.59 kB / 281.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.0618, allocations: 20 kB / 281.8 MB, free: 6.723 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004815/0.06228, allocations: 264.5 kB / 282.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.06246, allocations: 95.56 kB / 282.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.06263, allocations: 74.56 kB / 282.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.06263, allocations: 4 kB / 282.3 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.06264, allocations: 0 / 282.3 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002465/0.0651, allocations: 1.015 MB / 283.3 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.0687, allocations: 1.477 MB / 284.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.0687, allocations: 0 / 284.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.06928, allocations: 95.88 kB / 284.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005935/0.06987, allocations: 179.2 kB / 285 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.06992, allocations: 16 kB / 285.1 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006395/0.07631, allocations: 4.773 MB / 289.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.07632, allocations: 3.938 kB / 289.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.07878, allocations: 1.036 MB / 290.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/0.07924, allocations: 143.4 kB / 291 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.07935, allocations: 16 kB / 291 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.07993, allocations: 35.97 kB / 291.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.08013, allocations: 56.39 kB / 291.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.08017, allocations: 16 kB / 291.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008974/0.08107, allocations: 478.7 kB / 291.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08107, allocations: 0 / 291.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009712/0.08204, allocations: 259.7 kB / 291.8 MB, free: 12.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.08224, allocations: 123.2 kB / 292 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.0846, allocations: 1.168 MB / 293.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.0846, allocations: 0 / 293.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.08573, allocations: 0.6551 MB / 293.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.08676, allocations: 211.3 kB / 294 MB, free: 9.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.08995, allocations: 1.285 MB / 295.3 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.09032, allocations: 315.9 kB / 295.6 MB, free: 8.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003614/0.09068, allocations: 89.05 kB / 295.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.09085, allocations: 56.48 kB / 295.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of SimCode: time 2.334e-06/0.09085, allocations: 0 / 295.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of Templates: time 0.03578/0.1266, allocations: 16.88 MB / 312.6 MB, free: 7.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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: 5.443335260031745]