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.0009596/0.0009596, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.000957/0.000957, allocations: 169.7 kB / 24.82 MB, free: 9.273 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 1.074/1.074, allocations: 177 MB / 205.1 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.543e-06/1.543e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.684e-05, allocations: 6.312 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004847/0.004874, allocations: 5.116 MB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.007322, allocations: 1.351 MB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.007757, allocations: 11.94 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.008168, allocations: 174.4 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.008746, allocations: 360.8 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.009133, allocations: 243.6 kB / 280.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.01018, allocations: 1.273 MB / 281.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.01049, allocations: 234.6 kB / 282.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007655/0.01126, allocations: 0.7094 MB / 282.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.01168, allocations: 398.9 kB / 283.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.0118, allocations: 108 kB / 283.3 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.01192, allocations: 112 kB / 283.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.01205, allocations: 235.1 kB / 283.6 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.01236, allocations: 403.1 kB / 284 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.01309, allocations: 0.8175 MB / 284.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01309, allocations: 3.984 kB / 284.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0131, allocations: 3.938 kB / 284.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.01311, allocations: 0 / 284.8 MB, free: 5.664 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.001517/0.01463, allocations: 1.431 MB / 286.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01467, allocations: 15.98 kB / 286.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.01484, allocations: 164.3 kB / 286.4 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.01537, allocations: 0.4967 MB / 286.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.01554, allocations: 297.2 kB / 287.2 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.01562, allocations: 72.38 kB / 287.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/0.01656, allocations: 1.507 MB / 288.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.01658, allocations: 4.172 kB / 288.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.01663, allocations: 32.12 kB / 288.8 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.01664, allocations: 16 kB / 288.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.01699, allocations: 246.2 kB / 289.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.0189, allocations: 1.467 MB / 290.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.01942, allocations: 411.1 kB / 291 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.01965, allocations: 198 kB / 291.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.0197, allocations: 28.64 kB / 291.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.01973, allocations: 50.05 kB / 291.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 2.695e-06/0.01973, allocations: 0 / 291.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.001845/0.02158, allocations: 0.9642 MB / 292.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002873/0.02187, allocations: 0.8234 MB / 293 MB, free: 12.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.02227, allocations: 0.6046 MB / 293.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.02232, allocations: 49.64 kB / 293.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.02252, allocations: 419.8 kB / 294.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.02266, allocations: 281.5 kB / 294.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.02282, allocations: 152.3 kB / 294.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.02311, allocations: 0.5818 MB / 295.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.02328, allocations: 179 kB / 295.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.02382, allocations: 1.279 MB / 296.5 MB, free: 8.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.02419, allocations: 390.7 kB / 296.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.02419, allocations: 0 / 296.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009325/0.02513, allocations: 0.8257 MB / 297.7 MB, free: 7.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.02543, allocations: 89.11 kB / 297.8 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.02544, allocations: 0 / 297.8 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.02585, allocations: 182.6 kB / 298 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.02618, allocations: 139.8 kB / 298.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1091/0.1353, allocations: 7.668 MB / 305.8 MB, free: 37.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/0.1359, allocations: 85.98 kB / 305.9 MB, free: 37.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.136, allocations: 19.14 kB / 305.9 MB, free: 37.17 MB / 282.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.0002553/0.1362, allocations: 209.9 kB / 306.1 MB, free: 37.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1364, allocations: 121.5 kB / 306.2 MB, free: 37.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.812e-05/0.1365, allocations: 91.62 kB / 306.3 MB, free: 36.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1365, allocations: 7.656 kB / 306.3 MB, free: 36.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1365, allocations: 1.312 kB / 306.3 MB, free: 36.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000947/0.1374, allocations: 0.8911 MB / 307.2 MB, free: 36.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.1393, allocations: 1.289 MB / 308.5 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1393, allocations: 0.6562 kB / 308.5 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.1396, allocations: 140.8 kB / 308.7 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/0.14, allocations: 154 kB / 308.8 MB, free: 36.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.14, allocations: 19.94 kB / 308.8 MB, free: 36.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.1426, allocations: 5.836 MB / 314.7 MB, free: 30.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1426, allocations: 1.094 kB / 314.7 MB, free: 30.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1437, allocations: 0.886 MB / 315.5 MB, free: 30.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.144, allocations: 167.8 kB / 315.7 MB, free: 30.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.1441, allocations: 25.78 kB / 315.7 MB, free: 30.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.1444, allocations: 44.58 kB / 315.8 MB, free: 30.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.1445, allocations: 69.61 kB / 315.8 MB, free: 30.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.1445, allocations: 17.39 kB / 315.9 MB, free: 30.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003063/0.1448, allocations: 385.3 kB / 316.2 MB, free: 30.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 0 / 316.2 MB, free: 30.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006991/0.1455, allocations: 296.2 kB / 316.5 MB, free: 30.29 MB / 282.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.0001284/0.1457, allocations: 124.1 kB / 316.7 MB, free: 30.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009443/0.1466, allocations: 1.341 MB / 318 MB, free: 29.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1466, allocations: 1.156 kB / 318 MB, free: 29.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.1472, allocations: 0.77 MB / 318.8 MB, free: 28.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.1478, allocations: 245.7 kB / 319 MB, free: 28.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1499, allocations: 1.485 MB / 320.5 MB, free: 27.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.1501, allocations: 168.2 kB / 320.7 MB, free: 27.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.1504, allocations: 104 kB / 320.8 MB, free: 27.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006524/0.1511, allocations: 437.6 kB / 321.2 MB, free: 27.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1511, allocations: 0 / 321.2 MB, free: 27.79 MB / 282.7 MB Notification: Performance of Templates: time 0.02135/0.1724, allocations: 20.78 MB / 342 MB, free: 11.91 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.2697143792174757]