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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,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=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009692/0.0009693, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000836/0.0008359, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.966e-05, allocations: 3.984 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.4085, allocations: 84.12 MB / 454.1 MB, free: 9.195 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4088, allocations: 70.22 kB / 454.2 MB, free: 9.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04247/0.4513, allocations: 15.82 MB / 470 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4514, allocations: 0 / 470 MB, free: 10.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.583e-05/0.4514, allocations: 20 kB / 470.1 MB, free: 10.75 MB / 346.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.002123/0.4536, allocations: 0.9649 MB / 471 MB, free: 9.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4536, allocations: 12.03 kB / 471 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.4539, allocations: 98.88 kB / 471.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.4548, allocations: 470.7 kB / 471.6 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.455, allocations: 108.7 kB / 471.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4551, allocations: 52 kB / 471.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.4563, allocations: 0.7386 MB / 472.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.4564, allocations: 3.906 kB / 472.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/0.4564, allocations: 28 kB / 472.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.4565, allocations: 12 kB / 472.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.4573, allocations: 443.8 kB / 473 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.4611, allocations: 2.047 MB / 475 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.4621, allocations: 0.4916 MB / 475.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.4625, allocations: 230.5 kB / 475.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.4625, allocations: 13.64 kB / 475.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.4631, allocations: 291.1 kB / 476 MB, free: 4.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 3.527e-06/0.4631, allocations: 3.938 kB / 476 MB, free: 4.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.002065/0.4652, allocations: 0.7494 MB / 476.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004356/0.4656, allocations: 0.8194 MB / 477.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.4664, allocations: 0.5113 MB / 478.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.4665, allocations: 41.7 kB / 478.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.4668, allocations: 328.8 kB / 478.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.467, allocations: 197.1 kB / 478.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.4671, allocations: 12 kB / 478.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.4673, allocations: 378.8 kB / 479 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.4677, allocations: 181.5 kB / 479.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.4685, allocations: 487.6 kB / 479.7 MB, free: 404 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.4691, allocations: 280.9 kB / 480 MB, free: 116 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4691, allocations: 4 kB / 480 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002421/0.4715, allocations: 0.8816 MB / 480.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.4716, allocations: 71.42 kB / 480.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4717, allocations: 4 kB / 480.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008051/0.4725, allocations: 206.7 kB / 481.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.4732, allocations: 135.8 kB / 481.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005789/0.479, allocations: 4.093 MB / 485.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.4798, allocations: 95.55 kB / 485.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.4799, allocations: 23.94 kB / 485.5 MB, free: 10.29 MB / 362.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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.4802, allocations: 162 kB / 485.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.4803, allocations: 83.05 kB / 485.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.4805, allocations: 74.86 kB / 485.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.4805, allocations: 8 kB / 485.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4805, allocations: 0 / 485.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/0.4821, allocations: 1.011 MB / 486.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.4846, allocations: 1.49 MB / 488.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4846, allocations: 4 kB / 488.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.4853, allocations: 115.8 kB / 488.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/0.4857, allocations: 153.6 kB / 488.6 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.4858, allocations: 19.98 kB / 488.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.4896, allocations: 3.511 MB / 492.1 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4896, allocations: 192 / 492.1 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.4913, allocations: 0.9334 MB / 493 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.4917, allocations: 216.1 kB / 493.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.4918, allocations: 20 kB / 493.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.4923, allocations: 56.03 kB / 493.3 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.4924, allocations: 56.42 kB / 493.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.4925, allocations: 19.98 kB / 493.4 MB, free: 1.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005031/0.493, allocations: 407.2 kB / 493.8 MB, free: 1.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.493, allocations: 0 / 493.8 MB, free: 1.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008109/0.4938, allocations: 271.7 kB / 494 MB, free: 1.207 MB / 362.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002506/0.4941, allocations: 139.2 kB / 494.2 MB, free: 1.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.4957, allocations: 0.9296 MB / 495.1 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4957, allocations: 0 / 495.1 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.4965, allocations: 0.5158 MB / 495.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.4973, allocations: 191.8 kB / 495.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4991, allocations: 0.8455 MB / 496.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.4996, allocations: 0.9317 MB / 497.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000373/0.5, allocations: 77.2 kB / 497.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.5001, allocations: 51.42 kB / 497.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5001, allocations: 0 / 497.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of Templates: time 0.02428/0.5244, allocations: 14.52 MB / 0.5002 GB, free: 14.86 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches