Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.0009617/0.0009617, allocations: 85.8 kB / 21.42 MB, free: 3.074 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.001145/0.001145, allocations: 163.8 kB / 24.82 MB, free: 8.879 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.061/1.061, allocations: 177 MB / 205.1 MB, free: 5.457 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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 3.938 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.076e-05, allocations: 10.31 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003387/0.003407, allocations: 3.723 MB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.004695, allocations: 1.012 MB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.004897, allocations: 4 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.005186, allocations: 114.9 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.005509, allocations: 218.1 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.005739, allocations: 143.7 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.006277, allocations: 0.7273 MB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.006457, allocations: 139.2 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.006786, allocations: 411 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.006994, allocations: 223.4 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.007059, allocations: 60 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.007124, allocations: 56 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.007202, allocations: 135.5 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.007352, allocations: 223.5 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.007725, allocations: 478.2 kB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.007727, allocations: 0 / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007728, allocations: 4 kB / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.007733, allocations: 4 kB / 281 MB, free: 9.547 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008727/0.008606, allocations: 0.945 MB / 281.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00864, allocations: 11.98 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.00874, allocations: 104.5 kB / 282 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.009071, allocations: 346.4 kB / 282.3 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.009146, allocations: 114.6 kB / 282.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.00919, allocations: 40.38 kB / 282.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.009969, allocations: 0.799 MB / 283.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.009985, allocations: 192 / 283.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.01001, allocations: 20.12 kB / 283.3 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.01002, allocations: 16 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.01019, allocations: 134.8 kB / 283.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01128, allocations: 0.9186 MB / 284.4 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.01153, allocations: 214.8 kB / 284.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.01162, allocations: 87.39 kB / 284.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.01165, allocations: 8 kB / 284.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.01167, allocations: 42.05 kB / 284.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.252e-06/0.01167, allocations: 0 / 284.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005045/0.01217, allocations: 341.6 kB / 285.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.01229, allocations: 449 kB / 285.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.01255, allocations: 438.5 kB / 285.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.01258, allocations: 41.7 kB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.01272, allocations: 319 kB / 286.3 MB, free: 3.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.01278, allocations: 134.8 kB / 286.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.01287, allocations: 83.31 kB / 286.5 MB, free: 3.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.01301, allocations: 0.539 MB / 287 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.01308, allocations: 69.67 kB / 287.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.01334, allocations: 0.6228 MB / 287.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.01351, allocations: 168.8 kB / 287.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01351, allocations: 7.922 kB / 287.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003182/0.01383, allocations: 351.6 kB / 288.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.01385, allocations: 32.36 kB / 288.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01386, allocations: 0 / 288.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.74e-05/0.01396, allocations: 47.3 kB / 288.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.01415, allocations: 83.88 kB / 288.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.0159, allocations: 3.532 MB / 291.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.01608, allocations: 39.83 kB / 292 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01609, allocations: 8 kB / 292 MB, free: 13.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.01621, allocations: 180.6 kB / 292.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.01627, allocations: 71.84 kB / 292.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.01633, allocations: 60.53 kB / 292.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01633, allocations: 4 kB / 292.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01633, allocations: 0 / 292.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003013/0.01664, allocations: 0.5786 MB / 292.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.0173, allocations: 0.7046 MB / 293.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.0173, allocations: 7.938 kB / 293.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.01751, allocations: 83.89 kB / 293.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01751, allocations: 4 kB / 293.7 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.01753, allocations: 7.984 kB / 293.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01753, allocations: 4 kB / 293.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01753, allocations: 0 / 293.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.0179, allocations: 453.3 kB / 294.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.01801, allocations: 91.48 kB / 294.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.01805, allocations: 16.03 kB / 294.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.0182, allocations: 27.86 kB / 294.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.01824, allocations: 23.95 kB / 294.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.01826, allocations: 15.92 kB / 294.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.01841, allocations: 287 kB / 294.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01841, allocations: 0 / 294.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.01871, allocations: 143.8 kB / 294.7 MB, free: 10.65 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.574e-05/0.01879, allocations: 103.2 kB / 294.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.01926, allocations: 0.6168 MB / 295.4 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01926, allocations: 0 / 295.4 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01936, allocations: 103.8 kB / 295.5 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.01974, allocations: 141.8 kB / 295.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.02094, allocations: 0.87 MB / 296.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.021, allocations: 109.8 kB / 296.6 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.02117, allocations: 64.23 kB / 296.7 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/0.02179, allocations: 274 kB / 297 MB, free: 8.258 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02179, allocations: 0 / 297 MB, free: 8.258 MB / 282.7 MB Notification: Performance of Templates: time 0.1406/0.1624, allocations: 10.06 MB / 307 MB, free: 39.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.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: 2.8674019719474018]