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.002555/0.002555, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001984/0.001984, allocations: 153.1 kB / 24.26 MB, free: 168 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.536/1.536, allocations: 173.4 MB / 200.8 MB, free: 9.32 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 1.422e-06/1.422e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.577e-05/3.719e-05, allocations: 6.25 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007858/0.007895, allocations: 5.134 MB / 272.4 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.01101, allocations: 1.327 MB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.01146, allocations: 11.94 kB / 273.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.01194, allocations: 166.5 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008432/0.01278, allocations: 372.8 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.01355, allocations: 239.6 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.01551, allocations: 1.28 MB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.01606, allocations: 230.6 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.01721, allocations: 0.7017 MB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/0.01786, allocations: 402.9 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.01805, allocations: 115.9 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.01827, allocations: 108 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.01852, allocations: 239.1 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.01905, allocations: 407.1 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.02072, allocations: 1.305 MB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.02072, allocations: 0 / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02072, allocations: 0 / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.02074, allocations: 0 / 279.3 MB, free: 10.69 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.002867/0.02361, allocations: 1.481 MB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.02364, allocations: 8.922 kB / 280.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/0.02395, allocations: 168.3 kB / 281 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.02501, allocations: 0.5488 MB / 281.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/0.02556, allocations: 301.2 kB / 281.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.0257, allocations: 72.38 kB / 281.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.02794, allocations: 1.721 MB / 283.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.02796, allocations: 192 / 283.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.02804, allocations: 32.12 kB / 283.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.02806, allocations: 19.94 kB / 283.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.02951, allocations: 0.5712 MB / 284.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.03355, allocations: 1.866 MB / 286.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.03524, allocations: 0.7181 MB / 286.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008377/0.03608, allocations: 366.1 kB / 287.2 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.03615, allocations: 16.66 kB / 287.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.03621, allocations: 58.03 kB / 287.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.244e-06/0.03622, allocations: 0 / 287.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.005197/0.04141, allocations: 1.437 MB / 288.7 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1162/0.1576, allocations: 0.822 MB / 289.5 MB, free: 32.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.1591, allocations: 0.7808 MB / 290.3 MB, free: 32.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002744/0.1594, allocations: 43.67 kB / 290.3 MB, free: 32.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.1597, allocations: 440.9 kB / 290.7 MB, free: 32.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.1601, allocations: 288.5 kB / 291 MB, free: 32.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.1605, allocations: 168.7 kB / 291.2 MB, free: 31.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.1607, allocations: 0.6108 MB / 291.8 MB, free: 31.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/0.1614, allocations: 340.2 kB / 292.1 MB, free: 31.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.1626, allocations: 1.488 MB / 293.6 MB, free: 29.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.1639, allocations: 0.7143 MB / 294.3 MB, free: 29.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1639, allocations: 0 / 294.3 MB, free: 29.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002626/0.1665, allocations: 1.187 MB / 295.5 MB, free: 28.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.1666, allocations: 88.56 kB / 295.6 MB, free: 28.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1666, allocations: 1.922 kB / 295.6 MB, free: 28.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/0.1676, allocations: 259.8 kB / 295.9 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.1683, allocations: 143.2 kB / 296 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.1749, allocations: 8.527 MB / 304.5 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009838/0.1758, allocations: 93.33 kB / 304.6 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.1759, allocations: 27.45 kB / 304.6 MB, free: 20.81 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.0003575/0.1763, allocations: 266.6 kB / 304.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.1765, allocations: 115.2 kB / 305 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.1766, allocations: 91.02 kB / 305.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1766, allocations: 11.22 kB / 305.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1766, allocations: 1.531 kB / 305.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002144/0.1788, allocations: 1.205 MB / 306.3 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.1824, allocations: 1.845 MB / 308.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1824, allocations: 0 / 308.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.1831, allocations: 144.5 kB / 308.3 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007162/0.1838, allocations: 221.2 kB / 308.5 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.1839, allocations: 13.39 kB / 308.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/0.1891, allocations: 6.542 MB / 315.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1891, allocations: 0 / 315.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.1919, allocations: 1.42 MB / 316.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.1923, allocations: 181.6 kB / 316.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.1925, allocations: 19.81 kB / 316.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/0.1932, allocations: 43.53 kB / 316.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.1934, allocations: 72.02 kB / 316.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.1934, allocations: 19.44 kB / 316.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005438/0.194, allocations: 0.5126 MB / 317.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.194, allocations: 0 / 317.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009129/0.1949, allocations: 290 kB / 317.6 MB, free: 11.3 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.0001691/0.195, allocations: 131.1 kB / 317.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.197, allocations: 1.656 MB / 319.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.197, allocations: 0 / 319.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.1982, allocations: 0.9317 MB / 320.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.1991, allocations: 244 kB / 320.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2015, allocations: 1.576 MB / 322.2 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2018, allocations: 362.7 kB / 322.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003958/0.2021, allocations: 102.3 kB / 322.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.2023, allocations: 64.5 kB / 322.7 MB, free: 6.102 MB / 266.7 MB Notification: Performance of SimCode: time 1.021e-06/0.2023, allocations: 0 / 322.7 MB, free: 6.102 MB / 266.7 MB Notification: Performance of Templates: time 0.03196/0.2343, allocations: 19.5 MB / 342.2 MB, free: 2.984 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","/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.359703688998707]