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.001437/0.001437, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001732/0.001732, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9818/0.9818, allocations: 177.1 MB / 205 MB, free: 5.625 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.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.221e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006145/0.006167, allocations: 5.198 MB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.008827, allocations: 1.351 MB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.009219, allocations: 15.94 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.009658, allocations: 166.5 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.01043, allocations: 360.8 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.01093, allocations: 247.5 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.01224, allocations: 1.269 MB / 281.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.01264, allocations: 238.6 kB / 281.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.01349, allocations: 0.7056 MB / 282.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.01405, allocations: 402.9 kB / 282.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.01422, allocations: 112 kB / 283 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.01439, allocations: 108 kB / 283.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.01457, allocations: 243.1 kB / 283.4 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000576/0.01514, allocations: 399.1 kB / 283.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.01609, allocations: 0.8291 MB / 284.6 MB, free: 5.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01609, allocations: 3.938 kB / 284.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0161, allocations: 0 / 284.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.01611, allocations: 3.938 kB / 284.6 MB, free: 5.891 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.002145/0.01826, allocations: 1.427 MB / 286 MB, free: 4.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.0183, allocations: 8.031 kB / 286 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.01857, allocations: 168.3 kB / 286.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/0.01946, allocations: 0.5176 MB / 286.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.01967, allocations: 297.2 kB / 287 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.01979, allocations: 80.3 kB / 287.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.02121, allocations: 1.542 MB / 288.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.02123, allocations: 192 / 288.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.789e-05/0.0213, allocations: 32.12 kB / 288.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.02132, allocations: 12 kB / 288.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.02205, allocations: 311.6 kB / 289 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1169/0.1389, allocations: 1.559 MB / 290.5 MB, free: 25.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.1397, allocations: 459.9 kB / 291 MB, free: 25.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.14, allocations: 225.4 kB / 291.2 MB, free: 25.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.1401, allocations: 20.81 kB / 291.2 MB, free: 25.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1401, allocations: 55.17 kB / 291.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 4.769e-06/0.1401, allocations: 2.75 kB / 291.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002222/0.1424, allocations: 1.055 MB / 292.3 MB, free: 25.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1425, allocations: 0.8235 MB / 293.1 MB, free: 24.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.143, allocations: 0.6192 MB / 293.8 MB, free: 24.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.143, allocations: 46.55 kB / 293.8 MB, free: 24.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1432, allocations: 411.3 kB / 294.2 MB, free: 24.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1433, allocations: 281.8 kB / 294.5 MB, free: 24.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1435, allocations: 155 kB / 294.6 MB, free: 24.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1436, allocations: 0.563 MB / 295.2 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.1439, allocations: 210.7 kB / 295.4 MB, free: 23.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.1443, allocations: 1.308 MB / 296.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.1448, allocations: 452 kB / 297.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1448, allocations: 1.188 kB / 297.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001109/0.1459, allocations: 0.8945 MB / 298 MB, free: 21.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.146, allocations: 85.98 kB / 298.1 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.146, allocations: 3.938 kB / 298.1 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/0.1465, allocations: 191.8 kB / 298.3 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.1468, allocations: 143.2 kB / 298.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.15, allocations: 7.801 MB / 306.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.1504, allocations: 95.14 kB / 306.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.1504, allocations: 23.17 kB / 306.4 MB, free: 13.87 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.0001584/0.1506, allocations: 206.8 kB / 306.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1507, allocations: 120.7 kB / 306.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.1508, allocations: 89.84 kB / 306.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1508, allocations: 8.297 kB / 306.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1508, allocations: 0 / 306.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000949/0.1518, allocations: 0.9437 MB / 307.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.1535, allocations: 1.432 MB / 309.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1536, allocations: 4 kB / 309.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.1539, allocations: 140.2 kB / 309.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.1543, allocations: 158.3 kB / 309.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.1543, allocations: 17.59 kB / 309.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.1567, allocations: 5.954 MB / 315.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1567, allocations: 0 / 315.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1579, allocations: 0.9788 MB / 316.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.1581, allocations: 170.2 kB / 316.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.1582, allocations: 15.5 kB / 316.6 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.1585, allocations: 38.45 kB / 316.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.1586, allocations: 71.03 kB / 316.7 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.1586, allocations: 23.33 kB / 316.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003057/0.1589, allocations: 416.8 kB / 317.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 4 kB / 317.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005913/0.1595, allocations: 293.1 kB / 317.4 MB, free: 5.625 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.000116/0.1596, allocations: 122.8 kB / 317.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008988/0.1605, allocations: 1.392 MB / 318.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1605, allocations: 3.781 kB / 318.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.161, allocations: 0.7973 MB / 319.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.1616, allocations: 250.6 kB / 320 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1635, allocations: 1.497 MB / 321.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.1636, allocations: 165.3 kB / 321.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.1638, allocations: 102.3 kB / 321.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1639, allocations: 72.48 kB / 321.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1639, allocations: 0 / 321.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of Templates: time 0.02027/0.1842, allocations: 19.51 MB / 341.3 MB, free: 15.21 MB / 298.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.4657546803355217]