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.001176/0.001176, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0011/0.0011, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.57 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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.175e-05, allocations: 5.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.008465/0.008497, allocations: 5.207 MB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.01077, allocations: 1.343 MB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.01113, allocations: 15.94 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.01153, allocations: 162.5 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006007/0.01213, allocations: 364.8 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.01255, allocations: 247.6 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009798/0.01353, allocations: 1.273 MB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.01383, allocations: 238.6 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.01443, allocations: 0.7056 MB / 282.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.01483, allocations: 398.9 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.01496, allocations: 108 kB / 282.9 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.01508, allocations: 108 kB / 283 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.01522, allocations: 239.1 kB / 283.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.01553, allocations: 411.1 kB / 283.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.01631, allocations: 0.8252 MB / 284.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.01632, allocations: 4 kB / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.01632, allocations: 0 / 284.5 MB, free: 5.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.01633, allocations: 0 / 284.5 MB, free: 5.781 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.00165/0.01798, allocations: 1.431 MB / 285.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.01803, allocations: 11.98 kB / 285.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.01824, allocations: 168.3 kB / 286.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/0.01898, allocations: 0.5137 MB / 286.6 MB, free: 3.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.01917, allocations: 301.2 kB / 286.9 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.01927, allocations: 76.31 kB / 287 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.02042, allocations: 1.55 MB / 288.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.02044, allocations: 4.188 kB / 288.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.02049, allocations: 32.12 kB / 288.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.02051, allocations: 12 kB / 288.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.02103, allocations: 307.6 kB / 288.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.0232, allocations: 1.561 MB / 290.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.02389, allocations: 468 kB / 290.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.02423, allocations: 234 kB / 291.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.02429, allocations: 20.66 kB / 291.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.02432, allocations: 46.05 kB / 291.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.02432, allocations: 4 kB / 291.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.002118/0.02644, allocations: 1.054 MB / 292.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002597/0.0267, allocations: 0.8234 MB / 293.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.02722, allocations: 0.6206 MB / 293.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.02726, allocations: 45.7 kB / 293.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.02748, allocations: 407.9 kB / 294.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.02763, allocations: 277.6 kB / 294.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.0278, allocations: 148.3 kB / 294.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.02799, allocations: 0.5741 MB / 295.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.02826, allocations: 211 kB / 295.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.02891, allocations: 1.303 MB / 296.6 MB, free: 8.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.02943, allocations: 454.6 kB / 297.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.02943, allocations: 0 / 297.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001149/0.03058, allocations: 0.8923 MB / 298 MB, free: 7.047 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.03064, allocations: 93.09 kB / 298.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.03064, allocations: 0 / 298.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.0312, allocations: 194.5 kB / 298.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.03167, allocations: 139.8 kB / 298.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1346/0.1662, allocations: 7.789 MB / 306.2 MB, free: 37.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.1669, allocations: 89.59 kB / 306.3 MB, free: 37.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.167, allocations: 24.62 kB / 306.3 MB, free: 37.26 MB / 282.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.0002423/0.1672, allocations: 219.3 kB / 306.5 MB, free: 37.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.1673, allocations: 114.2 kB / 306.6 MB, free: 37.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.1674, allocations: 92.25 kB / 306.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1674, allocations: 10.7 kB / 306.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1675, allocations: 2.5 kB / 306.7 MB, free: 37.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/0.1686, allocations: 0.9438 MB / 307.7 MB, free: 36.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.1707, allocations: 1.434 MB / 309.1 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1707, allocations: 0 / 309.1 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.1711, allocations: 140.6 kB / 309.2 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003764/0.1715, allocations: 160.8 kB / 309.4 MB, free: 36.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.1716, allocations: 17.88 kB / 309.4 MB, free: 36.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.1747, allocations: 5.94 MB / 315.4 MB, free: 30.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1747, allocations: 1.125 kB / 315.4 MB, free: 30.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.1764, allocations: 0.9692 MB / 316.3 MB, free: 30.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.1767, allocations: 169.5 kB / 316.5 MB, free: 30.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.1768, allocations: 22.81 kB / 316.5 MB, free: 30.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.1773, allocations: 43.34 kB / 316.6 MB, free: 30.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.1775, allocations: 73.14 kB / 316.6 MB, free: 30.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.1775, allocations: 18.88 kB / 316.6 MB, free: 30.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004721/0.178, allocations: 418 kB / 317.1 MB, free: 30.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.178, allocations: 2.906 kB / 317.1 MB, free: 30.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008952/0.1789, allocations: 294.8 kB / 317.3 MB, free: 30.28 MB / 282.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.0001529/0.179, allocations: 125.9 kB / 317.5 MB, free: 30.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.1804, allocations: 1.388 MB / 318.9 MB, free: 29.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1804, allocations: 2.375 kB / 318.9 MB, free: 29.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.1812, allocations: 0.8002 MB / 319.7 MB, free: 28.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.1821, allocations: 235.1 kB / 319.9 MB, free: 28.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.1849, allocations: 1.5 MB / 321.4 MB, free: 27.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1851, allocations: 167.8 kB / 321.6 MB, free: 27.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.1855, allocations: 100.6 kB / 321.7 MB, free: 27.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.1857, allocations: 69.56 kB / 321.7 MB, free: 27.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1857, allocations: 0 / 321.7 MB, free: 27.71 MB / 282.7 MB Notification: Performance of Templates: time 0.02489/0.2106, allocations: 19.52 MB / 341.2 MB, free: 12.86 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 -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.694876058958471]