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.0008685/0.0008685, allocations: 77.14 kB / 21.5 MB, free: 2.832 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.0009827/0.0009827, allocations: 141 kB / 24.89 MB, free: 9.277 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.9441/0.9441, allocations: 173.4 MB / 201.5 MB, free: 8.258 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.974e-06/1.974e-06, allocations: 3.938 kB / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.393e-05, allocations: 2.312 kB / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.0063/0.006324, allocations: 5.091 MB / 273.6 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.009615, allocations: 1.376 MB / 274.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.01025, allocations: 12.44 kB / 274.9 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.01076, allocations: 170.5 kB / 275.1 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000904/0.01167, allocations: 372.8 kB / 275.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.01223, allocations: 235.6 kB / 275.7 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.0138, allocations: 1.273 MB / 277 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.01425, allocations: 248.6 kB / 277.2 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.01538, allocations: 0.7017 MB / 277.9 MB, free: 308 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007747/0.01615, allocations: 402.9 kB / 278.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.01644, allocations: 111.9 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.01666, allocations: 108 kB / 278.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.01688, allocations: 243.1 kB / 278.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005856/0.01746, allocations: 399.1 kB / 279.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.01856, allocations: 0.8213 MB / 280 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.01856, allocations: 0 / 280 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01857, allocations: 0 / 280 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.01858, allocations: 0 / 280 MB, free: 14.24 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.001835/0.02042, allocations: 1.286 MB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.02046, allocations: 8.031 kB / 281.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.02067, allocations: 132.8 kB / 281.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.02131, allocations: 394 kB / 281.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.02151, allocations: 301.2 kB / 282.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.02162, allocations: 80.36 kB / 282.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.02274, allocations: 1.429 MB / 283.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.02276, allocations: 4.188 kB / 283.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.02283, allocations: 32.12 kB / 283.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.02284, allocations: 12 kB / 283.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.02328, allocations: 210.3 kB / 283.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.02556, allocations: 1.103 MB / 284.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.02618, allocations: 371.4 kB / 285.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.02646, allocations: 167.3 kB / 285.5 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.02651, allocations: 20.59 kB / 285.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.02655, allocations: 47.22 kB / 285.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 3.687e-06/0.02655, allocations: 0 / 285.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002198/0.02875, allocations: 0.8325 MB / 286.4 MB, free: 7.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002765/0.02902, allocations: 0.8234 MB / 287.2 MB, free: 6.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.0295, allocations: 0.504 MB / 287.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.02955, allocations: 41.7 kB / 287.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.02972, allocations: 267.1 kB / 288 MB, free: 5.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.02989, allocations: 281.5 kB / 288.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.0301, allocations: 150.5 kB / 288.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.03024, allocations: 398.5 kB / 288.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.03046, allocations: 163.1 kB / 289 MB, free: 4.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.03109, allocations: 1.18 MB / 290.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.03155, allocations: 378 kB / 290.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.03155, allocations: 3.938 kB / 290.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00107/0.03262, allocations: 0.6804 MB / 291.2 MB, free: 1.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.03269, allocations: 89.09 kB / 291.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.03269, allocations: 0 / 291.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/0.03336, allocations: 163.3 kB / 291.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.03379, allocations: 143.8 kB / 291.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.03822, allocations: 5.305 MB / 296.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.03884, allocations: 91.62 kB / 297 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.03889, allocations: 20.03 kB / 297 MB, free: 11.72 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.0002662/0.03916, allocations: 165.7 kB / 297.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.0393, allocations: 87.91 kB / 297.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.03943, allocations: 88.08 kB / 297.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.03944, allocations: 8 kB / 297.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.03945, allocations: 3.938 kB / 297.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.04046, allocations: 0.7957 MB / 298.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.04259, allocations: 0.9873 MB / 299.1 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.04259, allocations: 4 kB / 299.1 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.04305, allocations: 135.8 kB / 299.3 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003749/0.04343, allocations: 138.4 kB / 299.4 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.04347, allocations: 12 kB / 299.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.04669, allocations: 4.052 MB / 303.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.0467, allocations: 3.938 kB / 303.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.04793, allocations: 0.7127 MB / 304.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.0482, allocations: 95.28 kB / 304.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.0483, allocations: 20 kB / 304.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.0487, allocations: 43.95 kB / 304.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.04885, allocations: 64.53 kB / 304.4 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.04888, allocations: 12 kB / 304.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.04914, allocations: 264.5 kB / 304.7 MB, free: 3.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04914, allocations: 0 / 304.7 MB, free: 3.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008625/0.05001, allocations: 291.7 kB / 305 MB, free: 3.305 MB / 282.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.000166/0.05017, allocations: 108.4 kB / 305.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.05163, allocations: 1.089 MB / 306.2 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.05165, allocations: 8 kB / 306.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.0523, allocations: 0.5874 MB / 306.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.05309, allocations: 241.7 kB / 307 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.05567, allocations: 1.402 MB / 308.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.05583, allocations: 169.3 kB / 308.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003715/0.0562, allocations: 106.3 kB / 308.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007856/0.05699, allocations: 373.1 kB / 309 MB, free: 15.03 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.05699, allocations: 4 kB / 309 MB, free: 15.02 MB / 298.7 MB Notification: Performance of Templates: time 0.02426/0.08125, allocations: 20.61 MB / 329.6 MB, free: 10.84 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.222482046112418]