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.001039/0.001039, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0008992/0.0008992, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.9559/0.9559, allocations: 173.4 MB / 202.3 MB, free: 8.277 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.282e-06/1.282e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.069e-05, allocations: 5.266 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004414/0.004434, allocations: 5.086 MB / 274.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.006771, allocations: 1.315 MB / 275.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.007066, allocations: 11.94 kB / 275.6 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.007397, allocations: 162.5 kB / 275.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.007881, allocations: 376.8 kB / 276.1 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.008208, allocations: 239.6 kB / 276.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008126/0.009021, allocations: 1.276 MB / 277.6 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.009294, allocations: 238.6 kB / 277.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.009801, allocations: 0.7016 MB / 278.6 MB, free: 376 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.01016, allocations: 398.9 kB / 279 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.01027, allocations: 112 kB / 279.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.01037, allocations: 108 kB / 279.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.0105, allocations: 239.1 kB / 279.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.01075, allocations: 403.1 kB / 279.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.01134, allocations: 0.8174 MB / 280.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01135, allocations: 3.984 kB / 280.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01135, allocations: 0 / 280.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.01136, allocations: 0 / 280.6 MB, free: 14.31 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.001407/0.01276, allocations: 1.435 MB / 282.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.0128, allocations: 12.03 kB / 282.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.01296, allocations: 168.3 kB / 282.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.01345, allocations: 0.4928 MB / 282.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.01361, allocations: 297.2 kB / 283 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.1e-05/0.01369, allocations: 80.36 kB / 283.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/0.01457, allocations: 1.499 MB / 284.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.01459, allocations: 192 / 284.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.01464, allocations: 36.06 kB / 284.6 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01465, allocations: 12 kB / 284.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.01498, allocations: 250.2 kB / 284.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.01679, allocations: 1.471 MB / 286.4 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.01732, allocations: 417.5 kB / 286.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.01754, allocations: 198.9 kB / 287 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.01758, allocations: 16.66 kB / 287 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.01761, allocations: 50.05 kB / 287 MB, free: 7.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 1.853e-06/0.01762, allocations: 0 / 287 MB, free: 7.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001827/0.01944, allocations: 0.9681 MB / 288 MB, free: 6.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/0.01967, allocations: 0.8272 MB / 288.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.02005, allocations: 0.6008 MB / 289.4 MB, free: 4.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.0201, allocations: 37.7 kB / 289.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.02031, allocations: 431.8 kB / 289.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.02047, allocations: 277.5 kB / 290.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.02063, allocations: 156.2 kB / 290.3 MB, free: 3.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.02078, allocations: 0.5779 MB / 290.9 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.02095, allocations: 183 kB / 291.1 MB, free: 3.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.02148, allocations: 1.271 MB / 292.3 MB, free: 1.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.02184, allocations: 394.7 kB / 292.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02184, allocations: 0 / 292.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009227/0.02276, allocations: 0.8257 MB / 293.6 MB, free: 152 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.02281, allocations: 93.05 kB / 293.6 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02281, allocations: 0 / 293.6 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.0232, allocations: 182.6 kB / 293.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.02352, allocations: 135.8 kB / 294 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.02756, allocations: 7.7 MB / 301.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.02798, allocations: 83.58 kB / 301.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.02802, allocations: 20.03 kB / 301.8 MB, free: 7.453 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.000204/0.02822, allocations: 212.4 kB / 302 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.02834, allocations: 123.4 kB / 302.1 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.661e-05/0.02844, allocations: 92.06 kB / 302.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02844, allocations: 8 kB / 302.2 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.02845, allocations: 0 / 302.2 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008875/0.02933, allocations: 0.8821 MB / 303.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.03099, allocations: 1.284 MB / 304.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.03099, allocations: 0 / 304.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.03135, allocations: 147.8 kB / 304.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.03164, allocations: 147 kB / 304.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.03167, allocations: 19.98 kB / 304.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.0348, allocations: 5.846 MB / 310.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.0348, allocations: 160 / 310.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.03589, allocations: 0.8887 MB / 311.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.03613, allocations: 171.2 kB / 311.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.03619, allocations: 20 kB / 311.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.0365, allocations: 43.91 kB / 311.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.03662, allocations: 76.52 kB / 311.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.03664, allocations: 12 kB / 311.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002328/0.03687, allocations: 386.8 kB / 312.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03687, allocations: 3.938 kB / 312.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006293/0.0375, allocations: 295.7 kB / 312.4 MB, free: 12.27 MB / 298.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.0001419/0.03764, allocations: 127.1 kB / 312.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009581/0.0386, allocations: 1.327 MB / 313.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.03861, allocations: 8.125 kB / 313.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.03916, allocations: 0.7675 MB / 314.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.03995, allocations: 241.1 kB / 314.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.04199, allocations: 1.49 MB / 316.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.04211, allocations: 165.3 kB / 316.5 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.0424, allocations: 102.3 kB / 316.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.04301, allocations: 441.9 kB / 317 MB, free: 7.371 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.04302, allocations: 0 / 317 MB, free: 7.371 MB / 298.7 MB Notification: Performance of Templates: time 0.02334/0.06636, allocations: 21.21 MB / 338.2 MB, free: 2.527 MB / 314.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 -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.35232012020424]