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.0009863/0.0009862, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.776/1.776, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0008577/0.0008575, allocations: 85.42 kB / 271.9 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 328.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2951, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3978, allocations: 83.57 MB / 459.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003899/0.3983, allocations: 75.97 kB / 459.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03941/0.4377, allocations: 14.02 MB / 473.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4378, allocations: 4 kB / 473.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.082e-05/0.4379, allocations: 16 kB / 473.4 MB, free: 14.88 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.002387/0.4403, allocations: 0.9889 MB / 474.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4403, allocations: 12.03 kB / 474.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.4407, allocations: 84 kB / 474.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009778/0.4417, allocations: 484.6 kB / 474.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.4419, allocations: 96.91 kB / 475 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.442, allocations: 48.38 kB / 475.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.4433, allocations: 0.6608 MB / 475.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.4434, allocations: 11.84 kB / 475.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.4435, allocations: 23.98 kB / 475.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.4435, allocations: 12 kB / 475.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4447, allocations: 491.7 kB / 476.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.4484, allocations: 1.899 MB / 478.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.4505, allocations: 0.7054 MB / 478.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.4511, allocations: 288.6 kB / 479.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/0.4512, allocations: 16.56 kB / 479.2 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.4512, allocations: 43.06 kB / 479.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.036e-06/0.4512, allocations: 0 / 479.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.005289/0.4565, allocations: 1.632 MB / 480.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003312/0.4569, allocations: 0.5606 MB / 481.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.4577, allocations: 0.5343 MB / 481.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.57e-05/0.4578, allocations: 37.7 kB / 482 MB, free: 5.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.4581, allocations: 284.5 kB / 482.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4583, allocations: 193.1 kB / 482.4 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.4584, allocations: 12 kB / 482.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.4586, allocations: 370.8 kB / 482.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.4591, allocations: 217 kB / 483 MB, free: 4.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.4599, allocations: 432.3 kB / 483.5 MB, free: 4.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.4611, allocations: 0.5166 MB / 484 MB, free: 3.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.4611, allocations: 7.938 kB / 484 MB, free: 3.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002382/0.4635, allocations: 0.8615 MB / 484.8 MB, free: 2.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.4636, allocations: 33.69 kB / 484.9 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4636, allocations: 8.031 kB / 484.9 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009349/0.4645, allocations: 222.4 kB / 485.1 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.4653, allocations: 135.8 kB / 485.2 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.4724, allocations: 5.183 MB / 490.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.4732, allocations: 87.56 kB / 490.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.4733, allocations: 23.92 kB / 490.5 MB, free: 12.64 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.0004506/0.4738, allocations: 194.4 kB / 490.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.474, allocations: 75.16 kB / 490.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.4763, allocations: 0.8359 MB / 491.6 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4764, allocations: 4 kB / 491.6 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4764, allocations: 3.938 kB / 491.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00217/0.4786, allocations: 1.097 MB / 492.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004142/0.4827, allocations: 1.584 MB / 494.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4828, allocations: 0 / 494.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/0.4836, allocations: 131.8 kB / 494.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/0.4844, allocations: 193.5 kB / 494.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.4844, allocations: 11.98 kB / 494.6 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005098/0.4896, allocations: 3.54 MB / 498.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4896, allocations: 0 / 498.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.4926, allocations: 1.164 MB / 499.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.4931, allocations: 196.2 kB / 499.5 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.4933, allocations: 16 kB / 499.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.4938, allocations: 43.97 kB / 499.6 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.4939, allocations: 44.42 kB / 499.6 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.494, allocations: 19.98 kB / 499.7 MB, free: 2.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006026/0.4946, allocations: 378.8 kB / 0.4883 GB, free: 2.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.694e-06/0.4946, allocations: 0 / 0.4883 GB, free: 2.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001042/0.4957, allocations: 239.6 kB / 0.4885 GB, free: 2.375 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.0002712/0.4959, allocations: 127 kB / 0.4887 GB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.4984, allocations: 1.023 MB / 0.4897 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.4984, allocations: 0 / 0.4897 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4996, allocations: 0.5513 MB / 0.4902 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.501, allocations: 182.8 kB / 0.4904 GB, free: 424 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1646/0.6657, allocations: 1.582 MB / 0.4919 GB, free: 106.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.6661, allocations: 0.8899 MB / 0.4928 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.6665, allocations: 55.8 kB / 0.4928 GB, free: 106 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6665, allocations: 1.688 kB / 0.4928 GB, free: 106 MB / 378.7 MB Notification: Performance of Templates: time 0.02029/0.6868, allocations: 15.29 MB / 0.5078 GB, free: 102.1 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