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.001292/0.001292, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001014/0.001014, allocations: 163.8 kB / 24.99 MB, free: 9.324 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 0.9746/0.9746, allocations: 177 MB / 205.2 MB, free: 5.227 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 2.605e-06/2.605e-06, allocations: 4 kB / 273 MB, free: 1.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.111e-05, allocations: 3.719 kB / 273 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004428/0.00445, allocations: 5.183 MB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.005878, allocations: 1.347 MB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.006068, allocations: 15.88 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.006339, allocations: 166.5 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.006739, allocations: 360.8 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.007004, allocations: 251.5 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.007824, allocations: 1.277 MB / 281.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.008097, allocations: 234.6 kB / 281.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.008652, allocations: 0.7056 MB / 282.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.009026, allocations: 402.9 kB / 282.9 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.009137, allocations: 108 kB / 283 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.009247, allocations: 108 kB / 283.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.009374, allocations: 243.1 kB / 283.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.009648, allocations: 399.1 kB / 283.7 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006241/0.01027, allocations: 0.8252 MB / 284.6 MB, free: 5.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.01027, allocations: 4 kB / 284.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01027, allocations: 0 / 284.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.01029, allocations: 0 / 284.6 MB, free: 5.953 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.001391/0.01168, allocations: 1.423 MB / 286 MB, free: 4.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.01171, allocations: 11.98 kB / 286 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.01188, allocations: 172.3 kB / 286.2 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.01244, allocations: 0.5214 MB / 286.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.01258, allocations: 297.2 kB / 287 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.01266, allocations: 80.38 kB / 287.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.01365, allocations: 1.542 MB / 288.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.01367, allocations: 8.172 kB / 288.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.01371, allocations: 32.12 kB / 288.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.01372, allocations: 15.94 kB / 288.7 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.01421, allocations: 315.6 kB / 289 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1028/0.117, allocations: 1.556 MB / 290.5 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.1177, allocations: 456.8 kB / 291 MB, free: 28.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.1181, allocations: 227.1 kB / 291.2 MB, free: 28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.1181, allocations: 16.2 kB / 291.2 MB, free: 28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1181, allocations: 54.02 kB / 291.3 MB, free: 27.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.294e-06/0.1181, allocations: 0.6562 kB / 291.3 MB, free: 27.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002196/0.1203, allocations: 1.054 MB / 292.3 MB, free: 27.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1204, allocations: 0.8268 MB / 293.1 MB, free: 26.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.1209, allocations: 0.6164 MB / 293.8 MB, free: 26.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.121, allocations: 45.97 kB / 293.8 MB, free: 26.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1212, allocations: 419 kB / 294.2 MB, free: 26.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1213, allocations: 281.3 kB / 294.5 MB, free: 26.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1214, allocations: 151.7 kB / 294.6 MB, free: 26.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1216, allocations: 0.5634 MB / 295.2 MB, free: 25.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1218, allocations: 213.4 kB / 295.4 MB, free: 25.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.1223, allocations: 1.303 MB / 296.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.1228, allocations: 448.3 kB / 297.1 MB, free: 23.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1228, allocations: 1.469 kB / 297.1 MB, free: 23.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0011/0.1239, allocations: 0.8922 MB / 298 MB, free: 23.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.1239, allocations: 84.84 kB / 298.1 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1239, allocations: 1.281 kB / 298.1 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004741/0.1244, allocations: 195 kB / 298.3 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.1247, allocations: 140 kB / 298.4 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.128, allocations: 7.801 MB / 306.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.1284, allocations: 94.02 kB / 306.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.1284, allocations: 23.58 kB / 306.4 MB, free: 15.6 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.0001663/0.1286, allocations: 214 kB / 306.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1287, allocations: 111.7 kB / 306.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.825e-05/0.1288, allocations: 95.58 kB / 306.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1288, allocations: 7.875 kB / 306.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1288, allocations: 0.7969 kB / 306.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009386/0.1297, allocations: 0.9452 MB / 307.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.1316, allocations: 1.432 MB / 309.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1316, allocations: 4 kB / 309.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.1319, allocations: 137.7 kB / 309.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/0.1322, allocations: 167.5 kB / 309.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.1323, allocations: 18.14 kB / 309.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.1346, allocations: 5.94 MB / 315.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1346, allocations: 1.281 kB / 315.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.1358, allocations: 0.9716 MB / 316.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.136, allocations: 172.4 kB / 316.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.1361, allocations: 18.97 kB / 316.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.1364, allocations: 44.88 kB / 316.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.1366, allocations: 74.28 kB / 316.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.1366, allocations: 16.5 kB / 316.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.1369, allocations: 423.8 kB / 317.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1369, allocations: 3.938 kB / 317.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005808/0.1374, allocations: 293.5 kB / 317.4 MB, free: 7.324 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.0001133/0.1375, allocations: 117.7 kB / 317.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008773/0.1384, allocations: 1.392 MB / 318.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1384, allocations: 7.812 kB / 318.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.1389, allocations: 0.7977 MB / 319.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.1395, allocations: 250.7 kB / 320 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1414, allocations: 1.486 MB / 321.5 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.148e-05/0.1415, allocations: 169.3 kB / 321.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.1417, allocations: 102.3 kB / 321.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1418, allocations: 64.48 kB / 321.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1418, allocations: 0 / 321.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of Templates: time 0.01946/0.1613, allocations: 19.51 MB / 341.3 MB, free: 288 kB / 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.3454449898563325]