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.0009923/0.0009923, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.0008654/0.0008654, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9526/0.9526, allocations: 173.4 MB / 201.1 MB, free: 9.344 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.483e-06/1.483e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.882e-05, allocations: 6.25 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006801/0.00683, allocations: 5.184 MB / 273.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.009705, allocations: 1.324 MB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.01014, allocations: 15.88 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.01061, allocations: 166.5 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008376/0.01145, allocations: 364.8 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.01203, allocations: 247.5 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.01359, allocations: 1.276 MB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.01401, allocations: 230.6 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.01499, allocations: 0.7056 MB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.01565, allocations: 410.8 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.01586, allocations: 108 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.01606, allocations: 112 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.01626, allocations: 231.2 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004988/0.01676, allocations: 411.1 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.0178, allocations: 0.8135 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.0178, allocations: 0 / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0178, allocations: 0 / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.01783, allocations: 4 kB / 279.5 MB, free: 10.84 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.002331/0.02016, allocations: 1.427 MB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.02021, allocations: 12.92 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.02051, allocations: 164.3 kB / 281.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.02147, allocations: 0.5253 MB / 281.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.02172, allocations: 297.2 kB / 281.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.02186, allocations: 72.38 kB / 282 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.02345, allocations: 1.542 MB / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.02348, allocations: 192 / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.02356, allocations: 40.11 kB / 283.6 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.02358, allocations: 20 kB / 283.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008308/0.02441, allocations: 307.6 kB / 283.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.0276, allocations: 1.561 MB / 285.5 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.02869, allocations: 479.3 kB / 285.9 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.02921, allocations: 218.1 kB / 286.2 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.02928, allocations: 24.64 kB / 286.2 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.02933, allocations: 50.05 kB / 286.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.594e-06/0.02933, allocations: 0 / 286.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.003359/0.03269, allocations: 1.054 MB / 287.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003386/0.03303, allocations: 0.8234 MB / 288.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.0338, allocations: 0.6206 MB / 288.7 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.03387, allocations: 45.7 kB / 288.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.03417, allocations: 411.9 kB / 289.2 MB, free: 420 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.03438, allocations: 285.5 kB / 289.5 MB, free: 132 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1264/0.1608, allocations: 148.4 kB / 289.6 MB, free: 30.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.161, allocations: 0.5698 MB / 290.2 MB, free: 29.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.1613, allocations: 210.5 kB / 290.4 MB, free: 29.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.1618, allocations: 1.302 MB / 291.7 MB, free: 28.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.1623, allocations: 449 kB / 292.1 MB, free: 27.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1623, allocations: 0 / 292.1 MB, free: 27.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001379/0.1637, allocations: 0.8889 MB / 293 MB, free: 27.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.1638, allocations: 91.98 kB / 293.1 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1638, allocations: 1.406 kB / 293.1 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005143/0.1643, allocations: 188.5 kB / 293.3 MB, free: 27.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.1647, allocations: 140.8 kB / 293.4 MB, free: 27.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.1681, allocations: 7.797 MB / 301.2 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.1685, allocations: 85.42 kB / 301.3 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.1685, allocations: 25.77 kB / 301.3 MB, free: 20.44 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.0001916/0.1687, allocations: 207.4 kB / 301.5 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1688, allocations: 121.4 kB / 301.6 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.421e-05/0.1689, allocations: 91 kB / 301.7 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1689, allocations: 8.281 kB / 301.7 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1689, allocations: 7.25 kB / 301.8 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009744/0.1699, allocations: 0.9446 MB / 302.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.1718, allocations: 1.433 MB / 304.1 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1718, allocations: 0 / 304.1 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.1721, allocations: 143.1 kB / 304.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/0.1725, allocations: 158.7 kB / 304.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.1725, allocations: 18.47 kB / 304.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.1749, allocations: 5.944 MB / 310.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1749, allocations: 1.312 kB / 310.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.1762, allocations: 0.9737 MB / 311.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.1764, allocations: 168.1 kB / 311.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.1765, allocations: 24.97 kB / 311.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.1768, allocations: 39.78 kB / 311.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.177, allocations: 74.84 kB / 311.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.177, allocations: 19.88 kB / 311.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003327/0.1773, allocations: 413.6 kB / 312.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1773, allocations: 1.062 kB / 312.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006026/0.1779, allocations: 294.4 kB / 312.4 MB, free: 12.72 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.0001231/0.178, allocations: 128.9 kB / 312.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1791, allocations: 1.388 MB / 313.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1791, allocations: 2.75 kB / 313.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.1797, allocations: 0.8077 MB / 314.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.1803, allocations: 252.3 kB / 314.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1823, allocations: 1.486 MB / 316.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.1824, allocations: 170 kB / 316.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.1827, allocations: 101.7 kB / 316.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1828, allocations: 69.02 kB / 316.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1828, allocations: 0 / 316.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of Templates: time 0.0203/0.2031, allocations: 19.52 MB / 336.3 MB, free: 8.16 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 -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.4958478389307857]