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.001005/0.001005, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001472/0.001472, allocations: 146.9 kB / 24.8 MB, free: 9.285 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 1.031/1.031, allocations: 173.3 MB / 201.4 MB, free: 9.227 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.443e-06/1.443e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.463e-05, allocations: 6.25 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006241/0.006266, allocations: 5.09 MB / 273.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.009265, allocations: 1.316 MB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005179/0.009783, allocations: 15.94 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.01024, allocations: 162.5 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.0114, allocations: 368.8 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.01196, allocations: 243.6 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.01346, allocations: 1.276 MB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.01391, allocations: 234.6 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.01493, allocations: 0.7094 MB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.01555, allocations: 402.9 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.01573, allocations: 108 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.01592, allocations: 112 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.0161, allocations: 239.2 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.01652, allocations: 399.1 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.01743, allocations: 0.8135 MB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01743, allocations: 4 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01743, allocations: 0 / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.01745, allocations: 0 / 279.8 MB, free: 10.7 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.001446/0.01889, allocations: 1.435 MB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.01893, allocations: 8.922 kB / 281.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.0191, allocations: 168.3 kB / 281.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.01961, allocations: 0.4928 MB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.01977, allocations: 297.1 kB / 282.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.01985, allocations: 80.38 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.02098, allocations: 1.499 MB / 283.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.02099, allocations: 192 / 283.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.02103, allocations: 36.12 kB / 283.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.02104, allocations: 12 kB / 283.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.02137, allocations: 242.2 kB / 284.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.02315, allocations: 1.475 MB / 285.6 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.02365, allocations: 425.8 kB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.02386, allocations: 194.1 kB / 286.2 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.0239, allocations: 24.66 kB / 286.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.02393, allocations: 50.05 kB / 286.3 MB, free: 3.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.565e-06/0.02393, allocations: 0 / 286.3 MB, free: 3.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001713/0.02564, allocations: 0.9642 MB / 287.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.02586, allocations: 0.8234 MB / 288 MB, free: 1.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.02624, allocations: 0.6046 MB / 288.6 MB, free: 1.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.02629, allocations: 45.7 kB / 288.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.0265, allocations: 427.8 kB / 289.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/0.02688, allocations: 285.5 kB / 289.4 MB, free: 396 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.02703, allocations: 148.3 kB / 289.5 MB, free: 240 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.09875/0.1258, allocations: 0.5733 MB / 290.1 MB, free: 25.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.1261, allocations: 178.2 kB / 290.3 MB, free: 25.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.1265, allocations: 1.276 MB / 291.6 MB, free: 24.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.1269, allocations: 394.7 kB / 291.9 MB, free: 24.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1269, allocations: 2.281 kB / 291.9 MB, free: 24.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001147/0.1281, allocations: 0.8207 MB / 292.8 MB, free: 23.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.1281, allocations: 90.67 kB / 292.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1281, allocations: 0 / 292.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004201/0.1286, allocations: 184.9 kB / 293 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.1289, allocations: 142.2 kB / 293.2 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.132, allocations: 7.667 MB / 300.8 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.1325, allocations: 84.38 kB / 300.9 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.1325, allocations: 19.78 kB / 300.9 MB, free: 16.78 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.0002073/0.1327, allocations: 217.6 kB / 301.2 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1328, allocations: 115.7 kB / 301.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.1329, allocations: 97.39 kB / 301.4 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.1329, allocations: 11.53 kB / 301.4 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1329, allocations: 0 / 301.4 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008288/0.1337, allocations: 0.8849 MB / 302.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.1354, allocations: 1.287 MB / 303.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1354, allocations: 0.6562 kB / 303.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.1358, allocations: 136.3 kB / 303.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000308/0.1361, allocations: 165.9 kB / 303.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.1361, allocations: 16.59 kB / 303.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.1384, allocations: 5.841 MB / 309.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1384, allocations: 1.281 kB / 309.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.1395, allocations: 0.8849 MB / 310.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.1397, allocations: 166.6 kB / 310.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.1398, allocations: 27.08 kB / 310.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.1401, allocations: 42.7 kB / 310.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.1402, allocations: 70.3 kB / 310.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.1402, allocations: 15.89 kB / 310.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1405, allocations: 386.8 kB / 311.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1405, allocations: 0 / 311.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006805/0.1412, allocations: 295.4 kB / 311.6 MB, free: 9.758 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.0001298/0.1413, allocations: 128.4 kB / 311.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009126/0.1422, allocations: 1.331 MB / 313 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1422, allocations: 5 kB / 313 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.1427, allocations: 0.7817 MB / 313.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.1434, allocations: 245.5 kB / 314 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1453, allocations: 1.474 MB / 315.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.1454, allocations: 166.3 kB / 315.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000292/0.1457, allocations: 102 kB / 315.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.1463, allocations: 442 kB / 316.2 MB, free: 7.164 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1463, allocations: 4 kB / 316.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of Templates: time 0.02087/0.1672, allocations: 20.78 MB / 337 MB, free: 5.219 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.2766682407818735]