Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 170.4 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 3.938 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.104e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004504/0.004525, allocations: 5.109 MB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.006509, allocations: 1.351 MB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.006824, allocations: 19.88 kB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.007092, allocations: 162.5 kB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.007596, allocations: 364.8 kB / 280.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.007963, allocations: 243.5 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.008973, allocations: 1.277 MB / 281.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.009243, allocations: 234.6 kB / 282.1 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007235/0.009967, allocations: 0.7056 MB / 282.8 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.01036, allocations: 398.9 kB / 283.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.01049, allocations: 108 kB / 283.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.01062, allocations: 108 kB / 283.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.01074, allocations: 243.1 kB / 283.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.01102, allocations: 399.1 kB / 284.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006338/0.01165, allocations: 0.8135 MB / 284.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.01165, allocations: 4 kB / 284.9 MB, free: 5.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01165, allocations: 4 kB / 284.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.01167, allocations: 0 / 284.9 MB, free: 5.77 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.001801/0.01347, allocations: 1.427 MB / 286.3 MB, free: 4.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.0135, allocations: 8.031 kB / 286.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.01377, allocations: 172.2 kB / 286.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.0145, allocations: 0.4929 MB / 287 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.01471, allocations: 297.2 kB / 287.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.01483, allocations: 80.38 kB / 287.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.01602, allocations: 1.495 MB / 288.8 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01603, allocations: 4.188 kB / 288.8 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.01608, allocations: 36.12 kB / 288.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.01609, allocations: 15.94 kB / 288.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.01664, allocations: 250.2 kB / 289.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1284/0.145, allocations: 1.466 MB / 290.6 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.1457, allocations: 407.7 kB / 291 MB, free: 25.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.146, allocations: 195.5 kB / 291.2 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.1461, allocations: 20.23 kB / 291.2 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1461, allocations: 54.67 kB / 291.3 MB, free: 25.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.795e-06/0.1461, allocations: 2.891 kB / 291.3 MB, free: 25.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002504/0.1486, allocations: 0.9682 MB / 292.2 MB, free: 25.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.1488, allocations: 0.8222 MB / 293.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.1493, allocations: 0.6038 MB / 293.7 MB, free: 24.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.1493, allocations: 44.95 kB / 293.7 MB, free: 24.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1496, allocations: 417.7 kB / 294.1 MB, free: 24.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.1497, allocations: 283.9 kB / 294.4 MB, free: 24.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.1499, allocations: 161.3 kB / 294.5 MB, free: 24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.15, allocations: 0.5728 MB / 295.1 MB, free: 23.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.1502, allocations: 177.4 kB / 295.3 MB, free: 23.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.1507, allocations: 1.281 MB / 296.6 MB, free: 21.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.1511, allocations: 396.8 kB / 297 MB, free: 21.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1511, allocations: 0 / 297 MB, free: 21.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001242/0.1524, allocations: 0.8221 MB / 297.8 MB, free: 21.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.1524, allocations: 89.53 kB / 297.9 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1524, allocations: 1.812 kB / 297.9 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.1529, allocations: 193.8 kB / 298.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/0.1563, allocations: 138.1 kB / 298.2 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/0.1629, allocations: 7.674 MB / 305.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.1635, allocations: 95.33 kB / 306 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/0.1636, allocations: 21.91 kB / 306 MB, free: 14.27 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.000254/0.1638, allocations: 206.4 kB / 306.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.164, allocations: 118.5 kB / 306.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.1642, allocations: 93.11 kB / 306.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.1642, allocations: 7.062 kB / 306.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1642, allocations: 1.641 kB / 306.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/0.1655, allocations: 0.8863 MB / 307.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.1679, allocations: 1.286 MB / 308.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1679, allocations: 0 / 308.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.1685, allocations: 144.3 kB / 308.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.1689, allocations: 155.3 kB / 308.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.169, allocations: 17.78 kB / 308.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.1726, allocations: 5.857 MB / 314.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1726, allocations: 5.281 kB / 314.7 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.1743, allocations: 0.8807 MB / 315.6 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.1746, allocations: 166.2 kB / 315.8 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.1747, allocations: 19.16 kB / 315.8 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.1751, allocations: 42.84 kB / 315.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1752, allocations: 74.39 kB / 315.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1752, allocations: 13.03 kB / 315.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.1754, allocations: 385.4 kB / 316.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1754, allocations: 5.25 kB / 316.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005753/0.176, allocations: 295 kB / 316.6 MB, free: 6.496 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.0001064/0.1761, allocations: 120.4 kB / 316.7 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000767/0.1769, allocations: 1.338 MB / 318.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1769, allocations: 3.75 kB / 318.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.1773, allocations: 0.7702 MB / 318.8 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.1779, allocations: 251.6 kB / 319.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.1796, allocations: 1.482 MB / 320.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.1797, allocations: 164.8 kB / 320.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.1799, allocations: 102.2 kB / 320.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.1805, allocations: 444.5 kB / 321.3 MB, free: 3.316 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1805, allocations: 0 / 321.3 MB, free: 3.316 MB / 266.7 MB Notification: Performance of Templates: time 0.0209/0.2014, allocations: 20.77 MB / 342 MB, free: 15.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.2621253710240126]