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.002345/0.002344, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.001039/0.001039, allocations: 90.64 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.57e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09176, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5062, allocations: 84.13 MB / 453.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5065, allocations: 77.89 kB / 453.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07177/0.5783, allocations: 15.81 MB / 469.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5784, allocations: 0 / 469.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.212e-05/0.5784, allocations: 16 kB / 469.1 MB, free: 11.09 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.00266/0.5811, allocations: 0.9727 MB / 470.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5812, allocations: 8.031 kB / 470.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.5815, allocations: 98.88 kB / 470.2 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.5825, allocations: 478.7 kB / 470.7 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.5827, allocations: 104.7 kB / 470.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5829, allocations: 52 kB / 470.8 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.5845, allocations: 0.7424 MB / 471.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.5846, allocations: 3.906 kB / 471.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.5847, allocations: 24 kB / 471.6 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.5847, allocations: 16 kB / 471.6 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.5861, allocations: 439.9 kB / 472 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/0.5917, allocations: 2.043 MB / 474.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.5934, allocations: 498.3 kB / 474.6 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006391/0.594, allocations: 230.5 kB / 474.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-05/0.5941, allocations: 13.66 kB / 474.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007878/0.5949, allocations: 295.1 kB / 475.1 MB, free: 4.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 7.063e-06/0.595, allocations: 4 kB / 475.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.003266/0.5982, allocations: 0.7494 MB / 475.8 MB, free: 4.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003889/0.5987, allocations: 0.8233 MB / 476.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.5998, allocations: 0.5074 MB / 477.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.6, allocations: 45.7 kB / 477.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.6003, allocations: 351.3 kB / 477.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.6006, allocations: 193.1 kB / 477.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.6007, allocations: 16 kB / 477.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6008, allocations: 330.8 kB / 478.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.6014, allocations: 177.5 kB / 478.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009468/0.6024, allocations: 491.6 kB / 478.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.6031, allocations: 281.3 kB / 479 MB, free: 484 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6031, allocations: 0 / 479 MB, free: 484 kB / 346.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003256/0.6064, allocations: 0.8393 MB / 479.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.386e-05/0.6065, allocations: 63.39 kB / 479.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6065, allocations: 0 / 479.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.6078, allocations: 223 kB / 480.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.6091, allocations: 127.8 kB / 480.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/0.6176, allocations: 4.097 MB / 484.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.6188, allocations: 99.34 kB / 484.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/0.6189, allocations: 24 kB / 484.5 MB, free: 10.7 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.0002547/0.6192, allocations: 149.9 kB / 484.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.6194, allocations: 83.09 kB / 484.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.6196, allocations: 82.84 kB / 484.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/0.6196, allocations: 4 kB / 484.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6197, allocations: 4 kB / 484.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002624/0.6223, allocations: 1.007 MB / 485.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.6258, allocations: 1.494 MB / 487.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6258, allocations: 0 / 487.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.6271, allocations: 119.8 kB / 487.4 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007266/0.6279, allocations: 153.6 kB / 487.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.6279, allocations: 11.98 kB / 487.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005949/0.6339, allocations: 3.518 MB / 491.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6339, allocations: 0 / 491.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.6366, allocations: 0.9374 MB / 492 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.6371, allocations: 212.1 kB / 492.2 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.6372, allocations: 16 kB / 492.2 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008865/0.6381, allocations: 56.03 kB / 492.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.6384, allocations: 60.61 kB / 492.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.6384, allocations: 19.98 kB / 492.4 MB, free: 2.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007682/0.6392, allocations: 411.1 kB / 492.8 MB, free: 1.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6392, allocations: 0 / 492.8 MB, free: 1.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001113/0.6404, allocations: 267.8 kB / 493 MB, free: 1.613 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.0002707/0.6406, allocations: 139.1 kB / 493.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.643, allocations: 0.9257 MB / 494.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.643, allocations: 4 kB / 494.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6441, allocations: 0.5128 MB / 494.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.6454, allocations: 195.2 kB / 494.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.6479, allocations: 0.8667 MB / 495.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.6486, allocations: 0.9356 MB / 496.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.6489, allocations: 67.34 kB / 496.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6489, allocations: 3.938 kB / 496.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of Templates: time 0.03664/0.6855, allocations: 15.32 MB / 0.5 GB, free: 14.48 MB / 394.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