Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001585, allocations: 185.9 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 2.022/2.022, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001144/0.001143, allocations: 89.31 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 11.98 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3313, allocations: 47.56 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4646, allocations: 83.46 MB / 458 MB, free: 13.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.465, allocations: 79.97 kB / 458.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06042/0.5254, allocations: 14.02 MB / 472.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.5254, allocations: 0 / 472.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.138e-05/0.5255, allocations: 19.94 kB / 472.1 MB, free: 15.1 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002776/0.5283, allocations: 1.004 MB / 473.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5284, allocations: 8.031 kB / 473.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.5286, allocations: 91.06 kB / 473.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009714/0.5296, allocations: 443.9 kB / 473.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.5298, allocations: 104.3 kB / 473.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.53, allocations: 51.94 kB / 473.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.5319, allocations: 0.6572 MB / 474.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.5319, allocations: 0 / 474.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.532, allocations: 20 kB / 474.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.5321, allocations: 15.98 kB / 474.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.534, allocations: 487.7 kB / 475 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/0.5391, allocations: 1.903 MB / 476.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.543, allocations: 0.758 MB / 477.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.5431, allocations: 12.55 kB / 477.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.5432, allocations: 43.12 kB / 477.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.677e-06/0.5432, allocations: 0 / 477.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.009588/0.5528, allocations: 1.622 MB / 479.3 MB, free: 7.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002938/0.5531, allocations: 0.5645 MB / 479.9 MB, free: 6.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/0.5541, allocations: 478.3 kB / 480.3 MB, free: 6.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.5543, allocations: 41.7 kB / 480.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.5547, allocations: 307.2 kB / 480.7 MB, free: 5.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.555, allocations: 201.1 kB / 480.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.555, allocations: 12 kB / 480.9 MB, free: 5.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5552, allocations: 330.8 kB / 481.2 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.5562, allocations: 213 kB / 481.4 MB, free: 5.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.5575, allocations: 436.5 kB / 481.8 MB, free: 4.738 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.5586, allocations: 268 kB / 482.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5586, allocations: 0 / 482.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004018/0.5626, allocations: 0.8346 MB / 482.9 MB, free: 3.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.5627, allocations: 33.69 kB / 483 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.5628, allocations: 0 / 483 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.5643, allocations: 238.3 kB / 483.2 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.5658, allocations: 135.8 kB / 483.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.5772, allocations: 5.235 MB / 488.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5784, allocations: 91.62 kB / 488.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.5785, allocations: 23.98 kB / 488.7 MB, free: 13.45 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004664/0.579, allocations: 197.9 kB / 488.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.5791, allocations: 67.25 kB / 488.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.5832, allocations: 0.8398 MB / 489.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.5833, allocations: 8 kB / 489.8 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5833, allocations: 0 / 489.8 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003821/0.5871, allocations: 1.097 MB / 490.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005597/0.5928, allocations: 1.576 MB / 492.5 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5928, allocations: 3.984 kB / 492.5 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.5944, allocations: 135.8 kB / 492.6 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.5957, allocations: 189.6 kB / 492.8 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.5958, allocations: 11.98 kB / 492.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008406/0.6042, allocations: 3.595 MB / 496.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6043, allocations: 0 / 496.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.6095, allocations: 1.164 MB / 497.6 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.6101, allocations: 200.1 kB / 497.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.6103, allocations: 20 kB / 497.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.6111, allocations: 39.97 kB / 497.8 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.6113, allocations: 40.5 kB / 497.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.6114, allocations: 19.98 kB / 497.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007255/0.6121, allocations: 378.8 kB / 498.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6121, allocations: 0 / 498.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001069/0.6132, allocations: 235.7 kB / 498.5 MB, free: 3.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/0.6135, allocations: 131.1 kB / 498.6 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.617, allocations: 1.027 MB / 499.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6171, allocations: 0 / 499.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.619, allocations: 0.5553 MB / 0.4885 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.6203, allocations: 179.9 kB / 0.4886 GB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.265/0.8853, allocations: 1.566 MB / 0.4902 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.8859, allocations: 0.9042 MB / 0.491 GB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.8863, allocations: 59.55 kB / 0.4911 GB, free: 106.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8863, allocations: 0 / 0.4911 GB, free: 106.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02752/0.9138, allocations: 14.62 MB / 0.5054 GB, free: 103 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches