Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001538/0.001538, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.911/1.911, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001172/0.001172, allocations: 100.3 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3269, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4614, allocations: 84.22 MB / 458.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.4618, allocations: 79.95 kB / 458.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07064/0.5324, allocations: 15.82 MB / 474.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5325, allocations: 0 / 474.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.216e-05/0.5326, allocations: 23.98 kB / 474.7 MB, free: 12.52 MB / 362.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.003312/0.5359, allocations: 1.081 MB / 475.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.536, allocations: 8.031 kB / 475.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.5364, allocations: 94.97 kB / 475.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.5378, allocations: 490.5 kB / 476.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.5381, allocations: 104.7 kB / 476.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.5383, allocations: 48 kB / 476.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.5407, allocations: 0.8175 MB / 477.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.5408, allocations: 0 / 477.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.541, allocations: 24 kB / 477.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.541, allocations: 12 kB / 477.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.5435, allocations: 0.5543 MB / 477.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006493/0.5501, allocations: 2.047 MB / 479.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.5529, allocations: 0.6114 MB / 480.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.5531, allocations: 13.62 kB / 480.6 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.5545, allocations: 355 kB / 480.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.539e-06/0.5546, allocations: 0 / 480.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.009835/0.5644, allocations: 1.678 MB / 482.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004407/0.5649, allocations: 0.8232 MB / 483.4 MB, free: 3.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.566, allocations: 0.5152 MB / 483.9 MB, free: 2.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.5662, allocations: 41.7 kB / 484 MB, free: 2.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.5665, allocations: 347.3 kB / 484.3 MB, free: 2.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.5668, allocations: 205 kB / 484.5 MB, free: 2.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.5669, allocations: 16 kB / 484.5 MB, free: 2.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.567, allocations: 330.8 kB / 484.8 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.5681, allocations: 241.2 kB / 485.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.5696, allocations: 0.5373 MB / 485.6 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5708, allocations: 330.2 kB / 485.9 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5709, allocations: 3.938 kB / 485.9 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004068/0.5749, allocations: 0.9293 MB / 486.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/0.5751, allocations: 63.39 kB / 486.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.5751, allocations: 4 kB / 486.9 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.5763, allocations: 225.5 kB / 487.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.5777, allocations: 135.8 kB / 487.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.5885, allocations: 4.335 MB / 491.6 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.5897, allocations: 83.48 kB / 491.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.5898, allocations: 24 kB / 491.7 MB, free: 10.4 MB / 378.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 () * Number of clocked 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.0005532/0.5904, allocations: 217.8 kB / 491.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.5905, allocations: 83.06 kB / 492 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.5908, allocations: 90.78 kB / 492.1 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.5908, allocations: 4 kB / 492.1 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5908, allocations: 0 / 492.1 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003763/0.5946, allocations: 1.129 MB / 493.2 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.5992, allocations: 1.615 MB / 494.9 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5993, allocations: 3.938 kB / 494.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.6006, allocations: 119.8 kB / 495 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009427/0.6015, allocations: 173.6 kB / 495.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.6016, allocations: 15.98 kB / 495.2 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007903/0.6095, allocations: 3.729 MB / 498.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6096, allocations: 4.031 kB / 498.9 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.614, allocations: 1.117 MB / 0.4883 GB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.6145, allocations: 212.1 kB / 0.4885 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.6147, allocations: 20 kB / 0.4885 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008476/0.6156, allocations: 63.91 kB / 0.4886 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.6158, allocations: 48.48 kB / 0.4886 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.6159, allocations: 19.98 kB / 0.4886 GB, free: 1.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007728/0.6166, allocations: 411.1 kB / 0.489 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6167, allocations: 0 / 0.489 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001175/0.6178, allocations: 271.7 kB / 0.4893 GB, free: 0.582 MB / 378.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 (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.0002886/0.6181, allocations: 139.2 kB / 0.4894 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2703/0.8885, allocations: 1.054 MB / 0.4905 GB, free: 105.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.8885, allocations: 3.438 kB / 0.4905 GB, free: 105.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.8904, allocations: 0.5766 MB / 0.491 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.8918, allocations: 191.7 kB / 0.4912 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.8958, allocations: 1.598 MB / 0.4928 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.8963, allocations: 0.9347 MB / 0.4937 GB, free: 104.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.8966, allocations: 55.98 kB / 0.4937 GB, free: 104.2 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8966, allocations: 0 / 0.4937 GB, free: 104.2 MB / 378.7 MB Notification: Performance of Templates: time 0.02609/0.9227, allocations: 15.34 MB / 0.5087 GB, free: 100.6 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches