Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009309/0.0009309, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 165 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9877/0.9877, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.003e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004109/0.004129, allocations: 5.127 MB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.00659, allocations: 1.401 MB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.00693, allocations: 15.94 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.007271, allocations: 170.5 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.007815, allocations: 364.8 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.00819, allocations: 243.5 kB / 280.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009696/0.00916, allocations: 1.273 MB / 281.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.009462, allocations: 244.6 kB / 282.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006694/0.01013, allocations: 0.7094 MB / 282.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.01054, allocations: 394.9 kB / 283.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.01066, allocations: 108 kB / 283.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.01077, allocations: 112 kB / 283.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.0109, allocations: 243.1 kB / 283.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.01118, allocations: 395.1 kB / 284.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.01186, allocations: 0.8174 MB / 284.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01186, allocations: 3.984 kB / 284.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01187, allocations: 4 kB / 284.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.01188, allocations: 3.938 kB / 284.9 MB, free: 5.605 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.001288/0.01317, allocations: 1.279 MB / 286.2 MB, free: 4.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.0132, allocations: 15.98 kB / 286.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.0136, allocations: 132.8 kB / 286.4 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.01405, allocations: 398 kB / 286.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.01421, allocations: 301.2 kB / 287.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.01428, allocations: 72.38 kB / 287.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.01514, allocations: 1.441 MB / 288.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01515, allocations: 4.188 kB / 288.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.01519, allocations: 32.12 kB / 288.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.0152, allocations: 16 kB / 288.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.0155, allocations: 206.2 kB / 288.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.01708, allocations: 1.095 MB / 289.9 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1007/0.1178, allocations: 347.8 kB / 290.3 MB, free: 25.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.1181, allocations: 173.8 kB / 290.4 MB, free: 25.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.1181, allocations: 16.5 kB / 290.4 MB, free: 25.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1181, allocations: 48.69 kB / 290.5 MB, free: 25.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 3.076e-06/0.1181, allocations: 0.5938 kB / 290.5 MB, free: 25.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001769/0.1199, allocations: 0.827 MB / 291.3 MB, free: 25.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.12, allocations: 0.8239 MB / 292.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.1204, allocations: 0.5062 MB / 292.6 MB, free: 24.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.1204, allocations: 45.83 kB / 292.7 MB, free: 24.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1205, allocations: 265 kB / 292.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1207, allocations: 284.5 kB / 293.2 MB, free: 24.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1208, allocations: 150.3 kB / 293.4 MB, free: 24.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.1209, allocations: 398.6 kB / 293.8 MB, free: 24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.121, allocations: 165.4 kB / 293.9 MB, free: 23.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.1214, allocations: 1.177 MB / 295.1 MB, free: 22.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.1217, allocations: 382 kB / 295.5 MB, free: 22.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1217, allocations: 1.219 kB / 295.5 MB, free: 22.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007847/0.1225, allocations: 0.6842 MB / 296.2 MB, free: 22.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.1225, allocations: 88.98 kB / 296.2 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1225, allocations: 0.6094 kB / 296.2 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.1229, allocations: 161.2 kB / 296.4 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.1232, allocations: 142.5 kB / 296.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.1257, allocations: 5.303 MB / 301.8 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.126, allocations: 85.94 kB / 301.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.1261, allocations: 21 kB / 302 MB, free: 17.36 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.000149/0.1262, allocations: 162.6 kB / 302.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1263, allocations: 86.55 kB / 302.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.1264, allocations: 97.06 kB / 302.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1264, allocations: 11.48 kB / 302.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1264, allocations: 1.125 kB / 302.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00066/0.1271, allocations: 0.7946 MB / 303.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1284, allocations: 0.9842 MB / 304.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1284, allocations: 2.047 kB / 304.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.1287, allocations: 138.1 kB / 304.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.129, allocations: 139.2 kB / 304.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.129, allocations: 18.11 kB / 304.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.1309, allocations: 4.044 MB / 308.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1309, allocations: 0.9375 kB / 308.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.1318, allocations: 0.7159 MB / 309.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1319, allocations: 104.7 kB / 309.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.132, allocations: 18.31 kB / 309.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1322, allocations: 45.58 kB / 309.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1324, allocations: 70.23 kB / 309.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1324, allocations: 10.84 kB / 309.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002066/0.1326, allocations: 255.4 kB / 309.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1326, allocations: 0 / 309.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005965/0.1332, allocations: 291.4 kB / 309.9 MB, free: 12.51 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.0001248/0.1333, allocations: 108.5 kB / 310 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.1341, allocations: 1.088 MB / 311.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.1341, allocations: 9.188 kB / 311.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.1345, allocations: 0.5895 MB / 311.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.135, allocations: 246.3 kB / 311.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1367, allocations: 1.404 MB / 313.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.912e-05/0.1368, allocations: 170.2 kB / 313.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00025/0.1371, allocations: 101.7 kB / 313.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.1376, allocations: 376.4 kB / 314 MB, free: 10.39 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1376, allocations: 0 / 314 MB, free: 10.39 MB / 266.7 MB Notification: Performance of Templates: time 0.01999/0.1576, allocations: 20.61 MB / 334.6 MB, free: 6.789 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.2336737127043307]