Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 78.19 kB / 21.42 MB, free: 3.086 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 155.4 kB / 24.81 MB, free: 8.965 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.02/1.02, allocations: 173.3 MB / 201.4 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.305e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003403/0.003416, allocations: 3.709 MB / 272.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.004437, allocations: 0.985 MB / 273.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.004585, allocations: 11.94 kB / 273.1 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.004833, allocations: 107.1 kB / 273.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.005104, allocations: 214.1 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.00529, allocations: 147.7 kB / 273.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.005765, allocations: 0.7312 MB / 274.3 MB, free: 296 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.00594, allocations: 135.2 kB / 274.4 MB, free: 156 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.006244, allocations: 411.1 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.006453, allocations: 223.3 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.00652, allocations: 60 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.006583, allocations: 60 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.006654, allocations: 135.5 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.006796, allocations: 219.5 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.007171, allocations: 474.3 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007173, allocations: 0 / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007174, allocations: 4 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.00718, allocations: 0 / 276 MB, free: 14.6 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.0009799/0.00816, allocations: 0.9489 MB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.008191, allocations: 16.92 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.506e-05/0.008286, allocations: 96.56 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.008595, allocations: 338.5 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.008667, allocations: 114.6 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.00871, allocations: 40.38 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.009443, allocations: 0.8086 MB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.009454, allocations: 192 / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.009477, allocations: 24.12 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.009485, allocations: 8 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.009653, allocations: 130.8 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.0107, allocations: 0.9342 MB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.01097, allocations: 215.2 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.01105, allocations: 71.64 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.01107, allocations: 16.66 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.0111, allocations: 41.39 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.272e-06/0.0111, allocations: 3.938 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004853/0.01158, allocations: 340.1 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.0117, allocations: 453 kB / 280.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.01196, allocations: 446.4 kB / 281 MB, free: 9.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.01198, allocations: 33.7 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.01212, allocations: 315.2 kB / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.01218, allocations: 134.8 kB / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.01227, allocations: 87.31 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.0124, allocations: 0.5351 MB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.01247, allocations: 73.61 kB / 282.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.01272, allocations: 0.6189 MB / 282.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.01289, allocations: 180.6 kB / 282.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.0129, allocations: 7.938 kB / 282.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000304/0.0132, allocations: 343.4 kB / 283.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.01322, allocations: 33.7 kB / 283.3 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.01323, allocations: 0 / 283.3 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.403e-05/0.01331, allocations: 51.3 kB / 283.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.0135, allocations: 79.88 kB / 283.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.01518, allocations: 3.516 MB / 286.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.01545, allocations: 51.86 kB / 287 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.01547, allocations: 11.94 kB / 287 MB, free: 2.602 MB / 266.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.0001502/0.01562, allocations: 184.5 kB / 287.2 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.01571, allocations: 63.67 kB / 287.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.01578, allocations: 60.73 kB / 287.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.01579, allocations: 7.984 kB / 287.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.01579, allocations: 0 / 287.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004224/0.01621, allocations: 0.5756 MB / 287.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/0.01711, allocations: 0.7124 MB / 288.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01712, allocations: 3.938 kB / 288.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.0174, allocations: 79.89 kB / 288.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.0174, allocations: 0 / 288.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.01742, allocations: 15.98 kB / 288.7 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01742, allocations: 0 / 288.7 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01743, allocations: 0 / 288.7 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.01792, allocations: 453.3 kB / 289.1 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.01808, allocations: 107.4 kB / 289.3 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.01812, allocations: 8 kB / 289.3 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.01837, allocations: 23.98 kB / 289.3 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.01842, allocations: 23.95 kB / 289.3 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01844, allocations: 11.98 kB / 289.3 MB, free: 108 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.01866, allocations: 279 kB / 289.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01866, allocations: 0 / 289.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004348/0.0191, allocations: 147.8 kB / 289.7 MB, free: 15.69 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.0001131/0.01921, allocations: 115.2 kB / 289.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.0198, allocations: 0.6048 MB / 290.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.01981, allocations: 4 kB / 290.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01995, allocations: 99.48 kB / 290.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.0205, allocations: 149.8 kB / 290.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.02207, allocations: 0.8648 MB / 291.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.02214, allocations: 113.8 kB / 291.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.02228, allocations: 64.23 kB / 291.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.02263, allocations: 274 kB / 292 MB, free: 13.29 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02263, allocations: 0 / 292 MB, free: 13.29 MB / 282.7 MB Notification: Performance of Templates: time 0.01105/0.03369, allocations: 10.1 MB / 302.1 MB, free: 3.461 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8592991339974105]