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.0008938/0.0008938, 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.0009461/0.0009461, allocations: 169.9 kB / 24.91 MB, free: 9.18 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 0.9691/0.9691, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.553e-06/1.553e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.504e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004284/0.004299, allocations: 5.127 MB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.006049, allocations: 1.393 MB / 280 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.006277, allocations: 23.88 kB / 280 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.006585, allocations: 170.5 kB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.007037, allocations: 360.8 kB / 280.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.007361, allocations: 243.5 kB / 280.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000871/0.008232, allocations: 1.277 MB / 282 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.008525, allocations: 248.5 kB / 282.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/0.009109, allocations: 0.7056 MB / 283 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.009472, allocations: 390.9 kB / 283.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.009581, allocations: 108 kB / 283.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.009685, allocations: 112 kB / 283.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.009808, allocations: 243.1 kB / 283.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.01009, allocations: 395.1 kB / 284.2 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.01068, allocations: 0.8252 MB / 285 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01068, allocations: 0 / 285 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01069, allocations: 0 / 285 MB, free: 5.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.0107, allocations: 0 / 285 MB, free: 5.68 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.001314/0.01201, allocations: 1.286 MB / 286.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.01204, allocations: 8.031 kB / 286.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.01217, allocations: 136.8 kB / 286.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.0126, allocations: 390.1 kB / 286.8 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.01274, allocations: 297.1 kB / 287.1 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.01282, allocations: 76.38 kB / 287.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.01359, allocations: 1.437 MB / 288.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.0136, allocations: 192 / 288.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.01364, allocations: 32.12 kB / 288.7 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01366, allocations: 24 kB / 288.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.01393, allocations: 206.3 kB / 288.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01543, allocations: 1.099 MB / 290 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1259/0.1413, allocations: 359 kB / 290.3 MB, free: 26.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.1417, allocations: 168.8 kB / 290.5 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.1417, allocations: 17.89 kB / 290.5 MB, free: 26.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1418, allocations: 48.03 kB / 290.6 MB, free: 26.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 3.256e-06/0.1418, allocations: 1.156 kB / 290.6 MB, free: 26.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.001845/0.1436, allocations: 0.8253 MB / 291.4 MB, free: 26.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.1437, allocations: 0.8255 MB / 292.2 MB, free: 25.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.1442, allocations: 0.507 MB / 292.7 MB, free: 25.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.1442, allocations: 45.14 kB / 292.8 MB, free: 25.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1443, allocations: 265.1 kB / 293 MB, free: 25.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1445, allocations: 283.4 kB / 293.3 MB, free: 24.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.1446, allocations: 148.1 kB / 293.4 MB, free: 24.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.1447, allocations: 401.4 kB / 293.8 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.1449, allocations: 165 kB / 294 MB, free: 24.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.1453, allocations: 1.174 MB / 295.2 MB, free: 23.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.1456, allocations: 382.6 kB / 295.5 MB, free: 23.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1456, allocations: 0 / 295.5 MB, free: 23.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008819/0.1465, allocations: 0.6838 MB / 296.2 MB, free: 22.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.1466, allocations: 93.55 kB / 296.3 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1466, allocations: 1.781 kB / 296.3 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.147, allocations: 156.1 kB / 296.5 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.1473, allocations: 142.9 kB / 296.6 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.1502, allocations: 5.298 MB / 301.9 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.1506, allocations: 90.23 kB / 302 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1506, allocations: 19.28 kB / 302 MB, free: 18 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.0001992/0.1508, allocations: 161 kB / 302.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.1509, allocations: 84.27 kB / 302.3 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.673e-05/0.151, allocations: 96.92 kB / 302.3 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.151, allocations: 11.62 kB / 302.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.151, allocations: 1.906 kB / 302.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000725/0.1518, allocations: 0.7953 MB / 303.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.1533, allocations: 0.9868 MB / 304.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1533, allocations: 0 / 304.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.1536, allocations: 147.1 kB / 304.3 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.1539, allocations: 138.8 kB / 304.4 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.154, allocations: 11.81 kB / 304.4 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.1561, allocations: 4.044 MB / 308.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1561, allocations: 0 / 308.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/0.1571, allocations: 0.7173 MB / 309.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.1573, allocations: 98.45 kB / 309.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.1573, allocations: 28.08 kB / 309.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.1576, allocations: 43.38 kB / 309.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.1577, allocations: 68.34 kB / 309.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.1578, allocations: 16.97 kB / 309.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.158, allocations: 255.1 kB / 309.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.158, allocations: 0 / 309.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008084/0.1588, allocations: 289.1 kB / 310 MB, free: 13.11 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.0001527/0.159, allocations: 100.1 kB / 310.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007994/0.1598, allocations: 1.096 MB / 311.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.1598, allocations: 7.094 kB / 311.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.1602, allocations: 0.5902 MB / 311.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.1608, allocations: 245.1 kB / 312 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1626, allocations: 1.401 MB / 313.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.1627, allocations: 174.9 kB / 313.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000264/0.163, allocations: 103.8 kB / 313.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.1635, allocations: 381.2 kB / 314.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1635, allocations: 0 / 314.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Templates: time 0.02209/0.1856, allocations: 20.61 MB / 334.7 MB, free: 7.082 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 -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.3674450959078968]