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.001055/0.001055, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001139/0.001139, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9889/0.9889, allocations: 177 MB / 204.8 MB, free: 5.574 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.974e-06/1.974e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.933e-05, allocations: 4.984 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005758/0.005787, allocations: 3.794 MB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.007482, allocations: 1.012 MB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.007729, allocations: 11.94 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.008042, allocations: 103.1 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.00841, allocations: 226.1 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.008683, allocations: 139.7 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.009372, allocations: 0.7273 MB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.009615, allocations: 139.2 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.01009, allocations: 411 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.01035, allocations: 219.4 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.535e-05/0.01042, allocations: 60 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.01049, allocations: 64 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.01058, allocations: 139.5 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.01077, allocations: 227.5 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.01126, allocations: 478.3 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01126, allocations: 0 / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01126, allocations: 3.938 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.01127, allocations: 0 / 280.6 MB, free: 9.715 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.001174/0.01245, allocations: 0.9451 MB / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.01249, allocations: 11.98 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.01262, allocations: 100.5 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.01312, allocations: 371.4 kB / 282 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.01322, allocations: 114.7 kB / 282.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.01327, allocations: 40.38 kB / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.01392, allocations: 0.8224 MB / 283 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.01393, allocations: 192 / 283 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.01417, allocations: 24.12 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.01418, allocations: 8 kB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.01447, allocations: 157.9 kB / 283.2 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01583, allocations: 1.008 MB / 284.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.0162, allocations: 228.4 kB / 284.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.01634, allocations: 95.39 kB / 284.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.01637, allocations: 8 kB / 284.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.0164, allocations: 41.39 kB / 284.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.0164, allocations: 0 / 284.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006671/0.01706, allocations: 389.5 kB / 284.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.0172, allocations: 444.9 kB / 285.4 MB, free: 4.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.01755, allocations: 454.7 kB / 285.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.01758, allocations: 37.7 kB / 285.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.01774, allocations: 307.2 kB / 286.1 MB, free: 3.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.01782, allocations: 134.8 kB / 286.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.01792, allocations: 83.34 kB / 286.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01807, allocations: 0.5313 MB / 286.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.0182, allocations: 93.66 kB / 287 MB, free: 2.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.01853, allocations: 0.6336 MB / 287.6 MB, free: 2.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.01878, allocations: 196.8 kB / 287.8 MB, free: 1.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01878, allocations: 3.938 kB / 287.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004344/0.01922, allocations: 375.6 kB / 288.2 MB, free: 1.418 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.01925, allocations: 33.7 kB / 288.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01925, allocations: 3.984 kB / 288.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.01939, allocations: 51.3 kB / 288.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.0196, allocations: 75.98 kB / 288.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.02165, allocations: 3.581 MB / 291.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.02185, allocations: 43.77 kB / 292 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.02187, allocations: 8 kB / 292 MB, free: 13.37 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.0001349/0.022, allocations: 192.4 kB / 292.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.02208, allocations: 63.72 kB / 292.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.02213, allocations: 44.62 kB / 292.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.02213, allocations: 8 kB / 292.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.02214, allocations: 4 kB / 292.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003925/0.02253, allocations: 0.6097 MB / 292.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.02337, allocations: 0.786 MB / 293.7 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02337, allocations: 0 / 293.7 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.02359, allocations: 87.88 kB / 293.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.0236, allocations: 0 / 293.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.02362, allocations: 12 kB / 293.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02362, allocations: 0 / 293.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02362, allocations: 0 / 293.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.02409, allocations: 493.3 kB / 294.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.02422, allocations: 91.55 kB / 294.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.02425, allocations: 12 kB / 294.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.02442, allocations: 19.98 kB / 294.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.02448, allocations: 27.94 kB / 294.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.0245, allocations: 12 kB / 294.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.02473, allocations: 311 kB / 294.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02473, allocations: 0 / 294.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.02506, allocations: 151.7 kB / 294.9 MB, free: 10.29 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 0.0001146/0.02517, allocations: 107.2 kB / 295 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.02579, allocations: 0.6441 MB / 295.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02579, allocations: 0 / 295.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.02593, allocations: 115.6 kB / 295.7 MB, free: 9.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.02637, allocations: 149.7 kB / 295.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.02792, allocations: 0.878 MB / 296.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.028, allocations: 113.8 kB / 296.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.02816, allocations: 64.22 kB / 296.9 MB, free: 8.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.02852, allocations: 44.5 kB / 297 MB, free: 8.059 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02852, allocations: 0 / 297 MB, free: 8.059 MB / 282.7 MB Notification: Performance of Templates: time 0.1165/0.145, allocations: 9.39 MB / 306.3 MB, free: 40 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: 3.3360134782269597]