Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 145.2 kB / 24.89 MB, free: 9.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.935/0.935, allocations: 173.4 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 3.938 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.136e-05, allocations: 6.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00428/0.004291, allocations: 5.147 MB / 273.7 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.006507, allocations: 1.37 MB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.006782, allocations: 19.94 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.007135, allocations: 178.4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.007698, allocations: 360.8 kB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.00808, allocations: 239.6 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.009238, allocations: 1.273 MB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.009561, allocations: 248.6 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006489/0.01021, allocations: 0.7133 MB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.01067, allocations: 394.9 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.01079, allocations: 108 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.01093, allocations: 115.9 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.01107, allocations: 231.2 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.01139, allocations: 399.1 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.01235, allocations: 0.8252 MB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01235, allocations: 0 / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01235, allocations: 0 / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.01236, allocations: 0 / 280.1 MB, free: 10.52 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.001441/0.0138, allocations: 1.283 MB / 281.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.01383, allocations: 12.92 kB / 281.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.01399, allocations: 132.8 kB / 281.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.0145, allocations: 394 kB / 281.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.01468, allocations: 301.2 kB / 282.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.01476, allocations: 72.38 kB / 282.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/0.01572, allocations: 1.433 MB / 283.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.01573, allocations: 4.172 kB / 283.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/0.01578, allocations: 32.12 kB / 283.7 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.0158, allocations: 16 kB / 283.7 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.01616, allocations: 210.3 kB / 283.9 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.018, allocations: 1.099 MB / 285 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.01852, allocations: 367.5 kB / 285.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.01875, allocations: 178.2 kB / 285.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.01879, allocations: 12.66 kB / 285.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.01882, allocations: 47.22 kB / 285.6 MB, free: 4.504 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.255e-06/0.01882, allocations: 0 / 285.6 MB, free: 4.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001891/0.02071, allocations: 0.8286 MB / 286.5 MB, free: 3.656 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004547/0.02117, allocations: 0.8234 MB / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.02156, allocations: 0.504 MB / 287.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.02161, allocations: 45.7 kB / 287.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.02175, allocations: 267 kB / 288.1 MB, free: 1.809 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.0219, allocations: 281.5 kB / 288.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.02209, allocations: 154.5 kB / 288.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.02221, allocations: 394.5 kB / 288.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.02239, allocations: 167.1 kB / 289.1 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.02296, allocations: 1.176 MB / 290.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.02337, allocations: 378 kB / 290.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02337, allocations: 3.938 kB / 290.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009197/0.02429, allocations: 0.6843 MB / 291.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.02434, allocations: 89.16 kB / 291.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.02434, allocations: 8 kB / 291.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/0.02476, allocations: 163.3 kB / 291.6 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.02526, allocations: 175.7 kB / 291.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.02901, allocations: 5.311 MB / 297 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.0294, allocations: 95.47 kB / 297.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.02944, allocations: 16 kB / 297.2 MB, free: 7.957 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.0001659/0.0296, allocations: 157.7 kB / 297.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.02971, allocations: 87.84 kB / 297.4 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.02982, allocations: 104.1 kB / 297.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.02982, allocations: 8 kB / 297.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.02982, allocations: 0 / 297.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008471/0.03067, allocations: 0.7918 MB / 298.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.03222, allocations: 0.9836 MB / 299.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.03222, allocations: 4 kB / 299.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.03274, allocations: 175.7 kB / 299.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.03306, allocations: 138.5 kB / 299.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.0331, allocations: 15.98 kB / 299.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/0.03612, allocations: 4.041 MB / 303.6 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03612, allocations: 0 / 303.6 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.03715, allocations: 0.7166 MB / 304.4 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.03735, allocations: 103.2 kB / 304.5 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.03742, allocations: 20 kB / 304.5 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.03776, allocations: 39.97 kB / 304.5 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.03789, allocations: 68.53 kB / 304.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.03792, allocations: 15.98 kB / 304.6 MB, free: 44 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.1032/0.1411, allocations: 250.5 kB / 304.8 MB, free: 39.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1411, allocations: 0 / 304.8 MB, free: 39.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008677/0.142, allocations: 293.2 kB / 305.1 MB, free: 39.11 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.0001449/0.1421, allocations: 107.5 kB / 305.2 MB, free: 39.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.1433, allocations: 1.089 MB / 306.3 MB, free: 38.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/0.1433, allocations: 8.531 kB / 306.3 MB, free: 38.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.1439, allocations: 0.5843 MB / 306.9 MB, free: 37.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.1446, allocations: 248 kB / 307.2 MB, free: 37.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1468, allocations: 1.398 MB / 308.6 MB, free: 37.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.1469, allocations: 168.1 kB / 308.7 MB, free: 37.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003408/0.1473, allocations: 96.95 kB / 308.8 MB, free: 37.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.1479, allocations: 389.5 kB / 309.2 MB, free: 37.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1479, allocations: 2.656 kB / 309.2 MB, free: 37.19 MB / 282.7 MB Notification: Performance of Templates: time 0.02471/0.1726, allocations: 20.96 MB / 330.2 MB, free: 25.2 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.276085945777595]