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.0009221/0.0009221, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001004/0.001004, allocations: 163.9 kB / 24.99 MB, free: 8.336 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.9352/0.9352, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.413e-06/1.413e-06, allocations: 0 / 273 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.267e-05, allocations: 6.25 kB / 273 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006169/0.006191, allocations: 5.183 MB / 278.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.008794, allocations: 1.355 MB / 279.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.009182, allocations: 11.94 kB / 279.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.009593, allocations: 166.5 kB / 279.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007354/0.01033, allocations: 364.8 kB / 280.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.01084, allocations: 239.5 kB / 280.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.01223, allocations: 1.282 MB / 281.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.01265, allocations: 234.6 kB / 281.9 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.01359, allocations: 0.7017 MB / 282.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.01421, allocations: 406.9 kB / 283 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.01438, allocations: 108 kB / 283.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.01456, allocations: 108 kB / 283.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.01476, allocations: 239.1 kB / 283.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.0152, allocations: 403.1 kB / 283.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.01625, allocations: 0.8252 MB / 284.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01625, allocations: 0 / 284.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01625, allocations: 4 kB / 284.6 MB, free: 6.191 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.01627, allocations: 0 / 284.6 MB, free: 6.191 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.002323/0.01859, allocations: 1.431 MB / 286.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.01863, allocations: 8.031 kB / 286.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.01891, allocations: 168.3 kB / 286.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.0198, allocations: 0.5137 MB / 286.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.02003, allocations: 301.2 kB / 287 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.02016, allocations: 76.38 kB / 287.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.02169, allocations: 1.535 MB / 288.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.02172, allocations: 8.188 kB / 288.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.02179, allocations: 36.12 kB / 288.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.02181, allocations: 12 kB / 288.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.02258, allocations: 311.6 kB / 289 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1181/0.1406, allocations: 1.57 MB / 290.6 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.1415, allocations: 455.7 kB / 291 MB, free: 27.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.1419, allocations: 227.6 kB / 291.2 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.142, allocations: 17.55 kB / 291.3 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.142, allocations: 51.23 kB / 291.3 MB, free: 27.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 3.106e-06/0.142, allocations: 0.5312 kB / 291.3 MB, free: 27.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002509/0.1445, allocations: 1.056 MB / 292.4 MB, free: 27.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.1446, allocations: 0.8253 MB / 293.2 MB, free: 26.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006101/0.1453, allocations: 0.6236 MB / 293.8 MB, free: 26.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.1453, allocations: 46.8 kB / 293.9 MB, free: 26.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1455, allocations: 410.2 kB / 294.3 MB, free: 26.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1457, allocations: 279.5 kB / 294.5 MB, free: 26.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.1459, allocations: 152 kB / 294.7 MB, free: 26.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.146, allocations: 0.5631 MB / 295.2 MB, free: 25.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.1463, allocations: 216.6 kB / 295.5 MB, free: 25.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.1467, allocations: 1.303 MB / 296.8 MB, free: 24.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.1473, allocations: 451.7 kB / 297.2 MB, free: 23.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1473, allocations: 0 / 297.2 MB, free: 23.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001204/0.1485, allocations: 0.8928 MB / 298.1 MB, free: 23.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.1485, allocations: 92.12 kB / 298.2 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1485, allocations: 1.594 kB / 298.2 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000469/0.149, allocations: 192 kB / 298.4 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.1493, allocations: 142.5 kB / 298.5 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.1527, allocations: 7.803 MB / 306.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.1531, allocations: 88.47 kB / 306.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.1531, allocations: 27.7 kB / 306.4 MB, free: 15.73 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.0001807/0.1533, allocations: 208.8 kB / 306.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1534, allocations: 111.7 kB / 306.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.1535, allocations: 100.3 kB / 306.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1535, allocations: 11.28 kB / 306.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1535, allocations: 3.938 kB / 306.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000939/0.1545, allocations: 0.9483 MB / 307.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.1563, allocations: 1.424 MB / 309.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1563, allocations: 0 / 309.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.1567, allocations: 145.5 kB / 309.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/0.157, allocations: 159.2 kB / 309.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.1571, allocations: 21.81 kB / 309.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/0.1595, allocations: 5.938 MB / 315.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1595, allocations: 1.125 kB / 315.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.1607, allocations: 0.9819 MB / 316.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.161, allocations: 164.8 kB / 316.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.161, allocations: 22.12 kB / 316.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.1613, allocations: 43.89 kB / 316.7 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.1615, allocations: 70.27 kB / 316.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.1615, allocations: 16.44 kB / 316.8 MB, free: 7.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.1618, allocations: 417.7 kB / 317.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1618, allocations: 0 / 317.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006314/0.1624, allocations: 296.7 kB / 317.5 MB, free: 7.484 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.0001165/0.1625, allocations: 122.1 kB / 317.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009578/0.1635, allocations: 1.39 MB / 319 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1635, allocations: 8.469 kB / 319 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.164, allocations: 0.7955 MB / 319.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.1646, allocations: 253.3 kB / 320 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1663, allocations: 1.493 MB / 321.5 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.675e-05/0.1664, allocations: 169.3 kB / 321.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.1667, allocations: 102.3 kB / 321.8 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1668, allocations: 68.48 kB / 321.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1668, allocations: 0 / 321.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of Templates: time 0.02009/0.1869, allocations: 19.53 MB / 341.4 MB, free: 368 kB / 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.4148732640314847]