Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 97.56 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.509e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1477, allocations: 51.48 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/0.5755, allocations: 82.13 MB / 477.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.5758, allocations: 73.67 kB / 477.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0381/0.6139, allocations: 16.57 MB / 493.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.614, allocations: 7.172 kB / 493.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.049e-05/0.614, allocations: 16 kB / 494 MB, free: 13.5 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001898/0.6159, allocations: 1.103 MB / 495.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.616, allocations: 8.031 kB / 495.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.6162, allocations: 116.6 kB / 495.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.617, allocations: 0.5458 MB / 495.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.6172, allocations: 122.4 kB / 495.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.6173, allocations: 39.31 kB / 495.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008271/0.6182, allocations: 497.5 kB / 496.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.6192, allocations: 0.7385 MB / 497.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.6193, allocations: 3.906 kB / 497.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.6193, allocations: 0 / 497.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.6193, allocations: 16 kB / 497.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.6227, allocations: 2.086 MB / 499.2 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.6238, allocations: 0.9376 MB / 0.4884 GB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.6243, allocations: 329.5 kB / 0.4887 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/0.6243, allocations: 16.77 kB / 0.4888 GB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.6244, allocations: 54.03 kB / 0.4888 GB, free: 7.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.004e-06/0.6244, allocations: 0 / 0.4888 GB, free: 7.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002012/0.6264, allocations: 0.8526 MB / 0.4896 GB, free: 7.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000377/0.6268, allocations: 0.83 MB / 0.4905 GB, free: 6.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.6274, allocations: 0.4996 MB / 0.4909 GB, free: 5.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.6275, allocations: 29.7 kB / 0.491 GB, free: 5.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6277, allocations: 359.8 kB / 0.4913 GB, free: 5.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.6279, allocations: 260.8 kB / 0.4916 GB, free: 5.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.628, allocations: 0 / 0.4916 GB, free: 5.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.6282, allocations: 385.8 kB / 0.4919 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.6285, allocations: 215.9 kB / 0.4921 GB, free: 4.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/0.629, allocations: 485.1 kB / 0.4926 GB, free: 4.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.6294, allocations: 249.5 kB / 0.4928 GB, free: 4.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6294, allocations: 4 kB / 0.4928 GB, free: 4.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002051/0.6315, allocations: 0.9203 MB / 0.4937 GB, free: 3.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.6316, allocations: 82.83 kB / 0.4938 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6316, allocations: 0 / 0.4938 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.6322, allocations: 213.6 kB / 0.494 GB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.6329, allocations: 151.8 kB / 0.4942 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/0.6389, allocations: 6.032 MB / 0.5001 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.6397, allocations: 95.45 kB / 0.5002 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.6398, allocations: 27.95 kB / 0.5002 GB, free: 12.16 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * 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.0002681/0.6401, allocations: 137.6 kB / 0.5003 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.6403, allocations: 94.97 kB / 0.5004 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.6405, allocations: 84.39 kB / 0.5005 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6405, allocations: 8 kB / 0.5005 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6405, allocations: 0 / 0.5005 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001908/0.6424, allocations: 1.154 MB / 0.5016 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.6456, allocations: 1.79 MB / 0.5034 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.6457, allocations: 0 / 0.5034 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.6464, allocations: 157.4 kB / 0.5035 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.6468, allocations: 162.5 kB / 0.5037 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.6468, allocations: 3.984 kB / 0.5037 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.6519, allocations: 4.643 MB / 0.5082 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6519, allocations: 4.031 kB / 0.5082 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.6544, allocations: 1.27 MB / 0.5095 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/0.6549, allocations: 235.9 kB / 0.5097 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.655, allocations: 7.984 kB / 0.5097 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.6556, allocations: 43.97 kB / 0.5097 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.6558, allocations: 72.61 kB / 0.5098 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.6558, allocations: 16 kB / 0.5098 GB, free: 1.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007098/0.6565, allocations: 399.2 kB / 0.5102 GB, free: 1.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6565, allocations: 0 / 0.5102 GB, free: 1.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001114/0.6577, allocations: 275.5 kB / 0.5105 GB, free: 1.062 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 () * 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.0003073/0.658, allocations: 119.2 kB / 0.5106 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.6598, allocations: 1.199 MB / 0.5117 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6598, allocations: 4 kB / 0.5117 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.661, allocations: 0.709 MB / 0.5124 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.6619, allocations: 188.4 kB / 0.5126 GB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.6643, allocations: 1.222 MB / 0.5138 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.6649, allocations: 0.9716 MB / 0.5148 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004809/0.6654, allocations: 94.16 kB / 0.5148 GB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.6656, allocations: 63.42 kB / 0.5149 GB, free: 12.34 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6656, allocations: 8 kB / 0.5149 GB, free: 12.33 MB / 394.7 MB Notification: Performance of Templates: time 0.02598/0.6916, allocations: 14.68 MB / 0.5292 GB, free: 13.96 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches