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.001017/0.001017, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001222/0.001222, allocations: 168.4 kB / 24.91 MB, free: 8.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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.473 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 1.272e-06/1.272e-06, allocations: 0 / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.269e-05, allocations: 2.312 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005198/0.005221, allocations: 5.177 MB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.006917, allocations: 1.405 MB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.007183, allocations: 11.94 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.007549, allocations: 170.5 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.008151, allocations: 368.8 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.008567, allocations: 251.5 kB / 280.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.009674, allocations: 1.265 MB / 282.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.01003, allocations: 240.6 kB / 282.3 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.01073, allocations: 0.7094 MB / 283 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.01125, allocations: 402.9 kB / 283.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.01139, allocations: 108 kB / 283.5 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.01155, allocations: 108 kB / 283.7 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.01171, allocations: 235.2 kB / 283.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.01205, allocations: 399.1 kB / 284.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008194/0.01287, allocations: 0.8214 MB / 285.1 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01288, allocations: 4 kB / 285.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01288, allocations: 0 / 285.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.01288, allocations: 0 / 285.1 MB, free: 5.562 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.001609/0.01449, allocations: 1.282 MB / 286.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.01454, allocations: 8.031 kB / 286.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.01471, allocations: 136.8 kB / 286.5 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.01526, allocations: 390 kB / 286.9 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.01545, allocations: 293.2 kB / 287.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.01555, allocations: 80.38 kB / 287.3 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.01661, allocations: 1.437 MB / 288.7 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.01663, allocations: 4.188 kB / 288.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.01668, allocations: 36.11 kB / 288.7 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.0167, allocations: 12 kB / 288.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.01711, allocations: 210.2 kB / 289 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.01917, allocations: 1.095 MB / 290.1 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1082/0.1273, allocations: 353 kB / 290.4 MB, free: 26.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.1276, allocations: 171.6 kB / 290.6 MB, free: 26.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.1277, allocations: 18.59 kB / 290.6 MB, free: 26.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1277, allocations: 49.19 kB / 290.6 MB, free: 26.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 3.125e-06/0.1277, allocations: 0.5312 kB / 290.6 MB, free: 26.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001856/0.1296, allocations: 0.8279 MB / 291.5 MB, free: 26.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.1297, allocations: 0.823 MB / 292.3 MB, free: 25.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1301, allocations: 0.5117 MB / 292.8 MB, free: 24.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.1302, allocations: 44.77 kB / 292.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1303, allocations: 269.2 kB / 293.1 MB, free: 24.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1304, allocations: 280.7 kB / 293.4 MB, free: 24.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1306, allocations: 148.3 kB / 293.5 MB, free: 24.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.1307, allocations: 399.9 kB / 293.9 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1308, allocations: 163.7 kB / 294.1 MB, free: 24.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.1312, allocations: 1.176 MB / 295.3 MB, free: 22.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.1316, allocations: 375.7 kB / 295.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1316, allocations: 1.125 kB / 295.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008431/0.1324, allocations: 0.6889 MB / 296.3 MB, free: 22.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.1325, allocations: 87.45 kB / 296.4 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1325, allocations: 2.859 kB / 296.4 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.1329, allocations: 167.8 kB / 296.6 MB, free: 22.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.1333, allocations: 178.3 kB / 296.7 MB, free: 22.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.136, allocations: 5.308 MB / 302 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.1364, allocations: 95.34 kB / 302.1 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.1364, allocations: 18.47 kB / 302.2 MB, free: 17.74 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.0001459/0.1366, allocations: 157.7 kB / 302.3 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1367, allocations: 89.03 kB / 302.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.968e-05/0.1367, allocations: 93.95 kB / 302.5 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1368, allocations: 7.844 kB / 302.5 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1368, allocations: 4.125 kB / 302.5 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007013/0.1375, allocations: 0.7947 MB / 303.3 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.1389, allocations: 0.9862 MB / 304.3 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1389, allocations: 1.156 kB / 304.3 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.1394, allocations: 177.2 kB / 304.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.1397, allocations: 143.2 kB / 304.6 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.1397, allocations: 13.89 kB / 304.6 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.1417, allocations: 4.051 MB / 308.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1417, allocations: 0 / 308.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.1426, allocations: 0.7201 MB / 309.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.1428, allocations: 100 kB / 309.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.1428, allocations: 21.28 kB / 309.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.1431, allocations: 42.67 kB / 309.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.1432, allocations: 69.44 kB / 309.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1432, allocations: 16.16 kB / 309.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.1435, allocations: 254.8 kB / 309.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1435, allocations: 0 / 309.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005884/0.1441, allocations: 293.4 kB / 310.2 MB, free: 12.91 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.0001197/0.1442, allocations: 101.7 kB / 310.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008148/0.145, allocations: 1.085 MB / 311.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/0.145, allocations: 8.344 kB / 311.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.1455, allocations: 0.5914 MB / 311.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.146, allocations: 253.7 kB / 312.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1478, allocations: 1.398 MB / 313.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.342e-05/0.1479, allocations: 167.1 kB / 313.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.1482, allocations: 104.4 kB / 313.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.1487, allocations: 391.4 kB / 314.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.412e-06/0.1487, allocations: 0 / 314.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Templates: time 0.0208/0.1695, allocations: 20.96 MB / 335.2 MB, free: 6.328 MB / 282.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 -s gbode -gbm=radauIIA3 -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.2239429182372987]