Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002226/0.002226, allocations: 198.9 kB / 18.07 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.789/2.789, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 102.5 kB / 297.4 MB, free: 6.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 7.984 kB / 357.4 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5662, allocations: 51.29 MB / 408.7 MB, free: 27.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.7737, allocations: 82.82 MB / 491.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004779/0.7744, allocations: 75.97 kB / 491.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08203/0.8564, allocations: 16.78 MB / 0.4964 GB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.109e-06/0.8565, allocations: 0 / 0.4964 GB, free: 7.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.501e-05/0.8566, allocations: 16 kB / 0.4964 GB, free: 7.855 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.009083/0.8657, allocations: 1.236 MB / 0.4976 GB, free: 6.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000105/0.8659, allocations: 12.03 kB / 0.4976 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.8667, allocations: 111.7 kB / 0.4977 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.8689, allocations: 0.5793 MB / 0.4983 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004179/0.8693, allocations: 151 kB / 0.4985 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.8696, allocations: 60.38 kB / 0.4985 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.8727, allocations: 0.8999 MB / 0.4994 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.8728, allocations: 3.938 kB / 0.4994 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.8729, allocations: 36 kB / 0.4994 GB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.873, allocations: 12 kB / 0.4994 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.8758, allocations: 0.6727 MB / 0.5001 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.8835, allocations: 2.205 MB / 0.5023 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007788/0.8914, allocations: 1.124 MB / 0.5034 GB, free: 364 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4747/1.366, allocations: 423.1 kB / 0.5038 GB, free: 90.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/1.366, allocations: 19.94 kB / 0.5038 GB, free: 90.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.044e-05/1.367, allocations: 50.16 kB / 0.5038 GB, free: 90.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 6.352e-06/1.367, allocations: 0 / 0.5038 GB, free: 90.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.01133/1.378, allocations: 2.051 MB / 0.5058 GB, free: 90.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/1.378, allocations: 0.8232 MB / 0.5066 GB, free: 89.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.38, allocations: 0.658 MB / 0.5073 GB, free: 89.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/1.38, allocations: 44.92 kB / 0.5073 GB, free: 89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/1.381, allocations: 351 kB / 0.5076 GB, free: 88.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/1.381, allocations: 271.4 kB / 0.5079 GB, free: 88.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/1.381, allocations: 13.81 kB / 0.5079 GB, free: 88.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/1.381, allocations: 332.1 kB / 0.5082 GB, free: 88.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/1.383, allocations: 308.7 kB / 0.5085 GB, free: 88.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/1.385, allocations: 0.5816 MB / 0.5091 GB, free: 88.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/1.388, allocations: 0.7488 MB / 0.5098 GB, free: 88.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.388, allocations: 1.062 kB / 0.5098 GB, free: 88.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005043/1.393, allocations: 1.215 MB / 0.511 GB, free: 87.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/1.393, allocations: 85.98 kB / 0.5111 GB, free: 87.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.393, allocations: 3.938 kB / 0.5111 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.394, allocations: 254 kB / 0.5113 GB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.395, allocations: 151.3 kB / 0.5115 GB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.406, allocations: 6.492 MB / 0.5178 GB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.407, allocations: 119.6 kB / 0.5179 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.407, allocations: 25.06 kB / 0.518 GB, free: 82.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (74): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006445/1.408, allocations: 225.5 kB / 0.5182 GB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/1.408, allocations: 94.41 kB / 0.5183 GB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/1.409, allocations: 99.3 kB / 0.5184 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.409, allocations: 10.09 kB / 0.5184 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.409, allocations: 2.312 kB / 0.5184 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004155/1.413, allocations: 1.353 MB / 0.5197 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.423, allocations: 2.084 MB / 0.5217 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.423, allocations: 0 / 0.5217 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.425, allocations: 164.9 kB / 0.5219 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/1.426, allocations: 212.3 kB / 0.5221 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/1.426, allocations: 11.94 kB / 0.5221 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009197/1.435, allocations: 5.059 MB / 0.527 GB, free: 76.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.435, allocations: 0 / 0.527 GB, free: 76.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/1.441, allocations: 1.566 MB / 0.5286 GB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.442, allocations: 241.3 kB / 0.5288 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.442, allocations: 18.06 kB / 0.5288 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000968/1.443, allocations: 60.97 kB / 0.5289 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/1.444, allocations: 66.94 kB / 0.5289 GB, free: 75.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/1.444, allocations: 22.75 kB / 0.529 GB, free: 75.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001259/1.445, allocations: 471.3 kB / 0.5294 GB, free: 75.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.445, allocations: 0 / 0.5294 GB, free: 75.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002132/1.447, allocations: 298.1 kB / 0.5297 GB, free: 75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000463/1.448, allocations: 140.4 kB / 0.5298 GB, free: 74.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003806/1.452, allocations: 1.427 MB / 0.5312 GB, free: 73.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.452, allocations: 0 / 0.5312 GB, free: 73.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/1.454, allocations: 0.8272 MB / 0.532 GB, free: 73.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/1.456, allocations: 225.9 kB / 0.5323 GB, free: 73.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/1.461, allocations: 2.012 MB / 0.5342 GB, free: 71.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/1.461, allocations: 0.9512 MB / 0.5351 GB, free: 70.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/1.462, allocations: 67.19 kB / 0.5352 GB, free: 70.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/1.462, allocations: 4 kB / 0.5352 GB, free: 70.46 MB / 378.7 MB Notification: Performance of Templates: time 0.04224/1.504, allocations: 23.22 MB / 0.5579 GB, free: 49.05 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches