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.001129/0.001129, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001191/0.001191, allocations: 161.8 kB / 24.99 MB, free: 8.801 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.598 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.492e-06/1.492e-06, allocations: 0 / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.415e-05, allocations: 2.312 kB / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003341/0.003365, allocations: 3.773 MB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.00445, allocations: 1.008 MB / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.004595, allocations: 7.938 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.004844, allocations: 111.1 kB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.005113, allocations: 222 kB / 278.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.005308, allocations: 143.7 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.005804, allocations: 0.7272 MB / 279 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.005989, allocations: 135.2 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.006273, allocations: 415.1 kB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.006477, allocations: 219.4 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.006537, allocations: 60 kB / 279.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.006593, allocations: 60 kB / 279.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.006664, allocations: 135.5 kB / 280 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.006815, allocations: 231.5 kB / 280.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.007181, allocations: 474.3 kB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.007184, allocations: 4 kB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.007185, allocations: 7.875 kB / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.00719, allocations: 0 / 280.7 MB, free: 10.05 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.0009281/0.008118, allocations: 0.9451 MB / 281.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.008152, allocations: 11.98 kB / 281.6 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.008262, allocations: 100.5 kB / 281.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.00866, allocations: 375.4 kB / 282.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.00874, allocations: 106.7 kB / 282.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.00879, allocations: 44.38 kB / 282.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.00936, allocations: 0.8341 MB / 283.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.009374, allocations: 4.172 kB / 283.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.009405, allocations: 20.12 kB / 283.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.009415, allocations: 8 kB / 283.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.009691, allocations: 157.9 kB / 283.2 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.01087, allocations: 1 MB / 284.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.01123, allocations: 229 kB / 284.5 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.01137, allocations: 99.27 kB / 284.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.01139, allocations: 8 kB / 284.6 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.01142, allocations: 41.39 kB / 284.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.01142, allocations: 0 / 284.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006409/0.01206, allocations: 389 kB / 285 MB, free: 5.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.01218, allocations: 445 kB / 285.4 MB, free: 4.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.0125, allocations: 458.7 kB / 285.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.01253, allocations: 33.7 kB / 285.9 MB, free: 4.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.01268, allocations: 307.2 kB / 286.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/0.01275, allocations: 138.8 kB / 286.3 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.01283, allocations: 79.36 kB / 286.4 MB, free: 3.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.01298, allocations: 0.5352 MB / 287 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.01312, allocations: 85.66 kB / 287 MB, free: 3.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.01344, allocations: 0.6307 MB / 287.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.01369, allocations: 204.8 kB / 287.9 MB, free: 2.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01369, allocations: 3.938 kB / 287.9 MB, free: 2.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004588/0.01415, allocations: 383.6 kB / 288.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.01417, allocations: 32.52 kB / 288.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01418, allocations: 0 / 288.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.0143, allocations: 47.34 kB / 288.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.0145, allocations: 75.89 kB / 288.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.01609, allocations: 3.581 MB / 292 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.01627, allocations: 51.89 kB / 292 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01629, allocations: 12 kB / 292 MB, free: 13.69 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.0001216/0.01641, allocations: 184.5 kB / 292.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.01648, allocations: 63.7 kB / 292.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.01653, allocations: 52.62 kB / 292.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01653, allocations: 4 kB / 292.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01653, allocations: 0 / 292.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003656/0.0169, allocations: 0.602 MB / 292.9 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.01785, allocations: 0.7939 MB / 293.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01786, allocations: 0 / 293.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.01808, allocations: 79.89 kB / 293.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01808, allocations: 4 kB / 293.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.0181, allocations: 11.98 kB / 293.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.0181, allocations: 4 kB / 293.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.0181, allocations: 0 / 293.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.01857, allocations: 497.2 kB / 294.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.01868, allocations: 95.55 kB / 294.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.01872, allocations: 8 kB / 294.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.01888, allocations: 19.98 kB / 294.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.01893, allocations: 23.95 kB / 294.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.01895, allocations: 11.98 kB / 294.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.01915, allocations: 307 kB / 294.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01915, allocations: 4 kB / 294.8 MB, free: 10.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01941, allocations: 147.7 kB / 294.9 MB, free: 10.62 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.547e-05/0.0195, allocations: 111.2 kB / 295 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.02005, allocations: 0.6363 MB / 295.7 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02005, allocations: 0 / 295.7 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.02019, allocations: 115.5 kB / 295.8 MB, free: 9.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.02059, allocations: 153.2 kB / 295.9 MB, free: 9.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.02185, allocations: 0.8664 MB / 296.8 MB, free: 8.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.983e-05/0.02192, allocations: 117.8 kB / 296.9 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.02206, allocations: 64.23 kB / 297 MB, free: 8.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.02215, allocations: 44.5 kB / 297 MB, free: 8.398 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02215, allocations: 0 / 297 MB, free: 8.398 MB / 282.7 MB Notification: Performance of Templates: time 0.09757/0.1197, allocations: 9.392 MB / 306.4 MB, free: 42.23 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.9158962580841035]