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.002031/0.002031, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002444/0.002444, allocations: 153.4 kB / 24.26 MB, free: 180 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 1.443/1.443, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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 4.519e-06/4.519e-06, allocations: 3.984 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.872e-05, allocations: 6.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00692/0.006948, allocations: 4.645 MB / 272 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.009506, allocations: 1.3 MB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.009797, allocations: 19.88 kB / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.01024, allocations: 162.5 kB / 273.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000731/0.01097, allocations: 364.8 kB / 273.8 MB, free: 196 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.01148, allocations: 243.5 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.01299, allocations: 1.269 MB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.01341, allocations: 242.6 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009044/0.01432, allocations: 0.7016 MB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.01493, allocations: 394.9 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.01511, allocations: 108 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.0153, allocations: 112 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.01555, allocations: 243.1 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.01605, allocations: 395.1 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.01783, allocations: 1.305 MB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01783, allocations: 0 / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01784, allocations: 3.938 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.01785, allocations: 4 kB / 278.8 MB, free: 11.18 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.002805/0.02066, allocations: 1.327 MB / 280.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.02069, allocations: 8.922 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.02102, allocations: 172.3 kB / 280.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.02214, allocations: 0.5499 MB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/0.02249, allocations: 301.2 kB / 281.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.02264, allocations: 76.38 kB / 281.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.02495, allocations: 1.647 MB / 282.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.02497, allocations: 192 / 282.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.02506, allocations: 32.12 kB / 282.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.02508, allocations: 16 kB / 282.9 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.02672, allocations: 0.6219 MB / 283.5 MB, free: 6.023 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/0.03064, allocations: 1.636 MB / 285.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.03249, allocations: 0.7296 MB / 285.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009291/0.03342, allocations: 375.2 kB / 286.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.03349, allocations: 16.64 kB / 286.3 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/0.03354, allocations: 51.22 kB / 286.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.605e-06/0.03354, allocations: 0 / 286.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.00567/0.03921, allocations: 1.55 MB / 287.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005896/0.0398, allocations: 0.8234 MB / 288.7 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.102/0.1418, allocations: 0.6142 MB / 289.3 MB, free: 33.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.142, allocations: 47.5 kB / 289.4 MB, free: 33.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.1422, allocations: 352.9 kB / 289.7 MB, free: 32.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.1424, allocations: 277.7 kB / 290 MB, free: 32.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.1426, allocations: 148.6 kB / 290.1 MB, free: 32.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.1427, allocations: 389.9 kB / 290.5 MB, free: 32.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.1434, allocations: 360.3 kB / 290.8 MB, free: 32.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009492/0.1443, allocations: 1.398 MB / 292.2 MB, free: 31.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.1457, allocations: 0.7026 MB / 292.9 MB, free: 30.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1457, allocations: 1 kB / 292.9 MB, free: 30.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002762/0.1484, allocations: 1.226 MB / 294.2 MB, free: 30.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.1485, allocations: 84.89 kB / 294.3 MB, free: 29.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1485, allocations: 1.938 kB / 294.3 MB, free: 29.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.1495, allocations: 269 kB / 294.5 MB, free: 29.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.1502, allocations: 147 kB / 294.7 MB, free: 29.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.1566, allocations: 6.403 MB / 301.1 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009513/0.1575, allocations: 105.3 kB / 301.2 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.1576, allocations: 23 kB / 301.2 MB, free: 24.25 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.0003312/0.1579, allocations: 223.1 kB / 301.4 MB, free: 24.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.1581, allocations: 112.3 kB / 301.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.1583, allocations: 91.19 kB / 301.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1583, allocations: 12.94 kB / 301.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1583, allocations: 5.312 kB / 301.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/0.1608, allocations: 1.255 MB / 302.9 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/0.1645, allocations: 1.722 MB / 304.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1645, allocations: 0.6094 kB / 304.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/0.1652, allocations: 151 kB / 304.8 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008576/0.1661, allocations: 233.6 kB / 305 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.1661, allocations: 22.05 kB / 305 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/0.1716, allocations: 4.947 MB / 309.9 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1716, allocations: 1.562 kB / 310 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.1748, allocations: 1.46 MB / 311.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.1751, allocations: 173.8 kB / 311.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.1752, allocations: 22.25 kB / 311.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.1759, allocations: 53.56 kB / 311.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.1761, allocations: 66.05 kB / 311.7 MB, free: 17.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.1761, allocations: 23.09 kB / 311.7 MB, free: 17.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004369/0.1765, allocations: 435.7 kB / 312.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1765, allocations: 3.719 kB / 312.2 MB, free: 16.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008179/0.1773, allocations: 293.6 kB / 312.5 MB, free: 16.94 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.0001444/0.1775, allocations: 130.9 kB / 312.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.1794, allocations: 1.421 MB / 314 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1794, allocations: 0 / 314 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.1805, allocations: 0.7533 MB / 314.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.1814, allocations: 238.3 kB / 315 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1836, allocations: 1.567 MB / 316.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1838, allocations: 362.7 kB / 316.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.1842, allocations: 102.3 kB / 317 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.1844, allocations: 68.48 kB / 317.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1844, allocations: 4 kB / 317.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.02665/0.2111, allocations: 19.24 MB / 336.3 MB, free: 9.438 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.236911660991609]