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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00147/0.00147, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 162.8 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.967e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004358/0.004377, allocations: 5.173 MB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.006729, allocations: 1.401 MB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.007084, allocations: 15.88 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.007433, allocations: 170.5 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.007986, allocations: 364.8 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.008376, allocations: 247.5 kB / 280.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.009409, allocations: 1.273 MB / 282 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.009733, allocations: 240.6 kB / 282.3 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.01048, allocations: 0.7056 MB / 283 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.0109, allocations: 406.9 kB / 283.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.01101, allocations: 108 kB / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.01112, allocations: 108 kB / 283.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.01123, allocations: 235.2 kB / 283.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.01152, allocations: 407.1 kB / 284.2 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.01215, allocations: 0.8096 MB / 285 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01215, allocations: 4 kB / 285 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01215, allocations: 0 / 285 MB, free: 5.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.01216, allocations: 0 / 285 MB, free: 5.516 MB / 266.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.001272/0.01343, allocations: 1.286 MB / 286.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.01347, allocations: 11.98 kB / 286.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.0136, allocations: 136.8 kB / 286.5 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.01405, allocations: 386.1 kB / 286.8 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.01421, allocations: 305.1 kB / 287.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.01428, allocations: 76.36 kB / 287.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.0151, allocations: 1.441 MB / 288.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.01511, allocations: 192 / 288.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.01516, allocations: 36.12 kB / 288.7 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01517, allocations: 15.94 kB / 288.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.01546, allocations: 206.3 kB / 288.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.01699, allocations: 1.092 MB / 290 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1166/0.1336, allocations: 356.8 kB / 290.3 MB, free: 26.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.1339, allocations: 168.6 kB / 290.5 MB, free: 26.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.134, allocations: 18.22 kB / 290.5 MB, free: 26.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.134, allocations: 51.47 kB / 290.6 MB, free: 26.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 4.028e-06/0.134, allocations: 0 / 290.6 MB, free: 26.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001896/0.1359, allocations: 0.8243 MB / 291.4 MB, free: 26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.136, allocations: 0.8233 MB / 292.2 MB, free: 24.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.1365, allocations: 0.5058 MB / 292.7 MB, free: 24.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.1365, allocations: 46.55 kB / 292.8 MB, free: 24.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1367, allocations: 268.2 kB / 293 MB, free: 24.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.1368, allocations: 280.6 kB / 293.3 MB, free: 24.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.137, allocations: 148.7 kB / 293.5 MB, free: 24.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1371, allocations: 403.5 kB / 293.8 MB, free: 24.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.1373, allocations: 165 kB / 294 MB, free: 24.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.1376, allocations: 1.177 MB / 295.2 MB, free: 22.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.138, allocations: 376.1 kB / 295.6 MB, free: 22.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.138, allocations: 3.438 kB / 295.6 MB, free: 22.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009096/0.1389, allocations: 0.6863 MB / 296.2 MB, free: 22.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.139, allocations: 87.88 kB / 296.3 MB, free: 22.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.139, allocations: 1.844 kB / 296.3 MB, free: 22.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.1394, allocations: 164 kB / 296.5 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.1399, allocations: 185.6 kB / 296.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.1427, allocations: 5.303 MB / 302 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.1431, allocations: 90.55 kB / 302.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.1432, allocations: 16.52 kB / 302.1 MB, free: 17.7 MB / 266.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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.1433, allocations: 165.6 kB / 302.2 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1434, allocations: 88.78 kB / 302.3 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.205e-05/0.1435, allocations: 95.06 kB / 302.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1435, allocations: 6.5 kB / 302.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1436, allocations: 0.9688 kB / 302.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000696/0.1442, allocations: 0.7933 MB / 303.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1457, allocations: 0.9873 MB / 304.2 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1457, allocations: 0 / 304.2 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.1462, allocations: 186.6 kB / 304.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003068/0.1465, allocations: 132.6 kB / 304.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.1465, allocations: 23.2 kB / 304.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.1485, allocations: 4.047 MB / 308.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1485, allocations: 3 kB / 308.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.1494, allocations: 0.7256 MB / 309.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.1496, allocations: 98.72 kB / 309.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.1497, allocations: 18 kB / 309.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.15, allocations: 39.92 kB / 309.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.1501, allocations: 71.64 kB / 309.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.1501, allocations: 11.34 kB / 309.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.1504, allocations: 257.7 kB / 309.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1504, allocations: 0 / 309.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007288/0.1511, allocations: 291.6 kB / 310.1 MB, free: 12.86 MB / 266.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.1512, allocations: 111.2 kB / 310.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008883/0.1521, allocations: 1.079 MB / 311.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.1521, allocations: 12.53 kB / 311.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004822/0.1526, allocations: 0.5834 MB / 311.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.1532, allocations: 251.5 kB / 312.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1549, allocations: 1.408 MB / 313.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.155, allocations: 163 kB / 313.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.1553, allocations: 106.5 kB / 313.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.1558, allocations: 386 kB / 314.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1558, allocations: 0 / 314.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of Templates: time 0.02454/0.1803, allocations: 20.94 MB / 335.1 MB, free: 6.262 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.262865228112787]