Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 78.66 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 173.3 kB / 24.82 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.72e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003421/0.003438, allocations: 3.731 MB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.004653, allocations: 1.012 MB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.004825, allocations: 11.94 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.005071, allocations: 103.1 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.005351, allocations: 222.1 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.005544, allocations: 143.7 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.00605, allocations: 0.7311 MB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.006232, allocations: 139.2 kB / 279.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.00653, allocations: 403.2 kB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.006739, allocations: 223.4 kB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.006803, allocations: 63.94 kB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.006869, allocations: 60 kB / 280.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.006943, allocations: 139.5 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.007085, allocations: 219.5 kB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.00746, allocations: 478.2 kB / 281 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007461, allocations: 0 / 281 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.007462, allocations: 0 / 281 MB, free: 9.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.007467, allocations: 0 / 281 MB, free: 9.633 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.0009115/0.008378, allocations: 0.9489 MB / 282 MB, free: 8.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.008416, allocations: 12.03 kB / 282 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.008515, allocations: 104.5 kB / 282.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.008849, allocations: 350.4 kB / 282.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/0.008927, allocations: 102.7 kB / 282.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.008974, allocations: 44.38 kB / 282.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.009475, allocations: 0.7989 MB / 283.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.009489, allocations: 8.172 kB / 283.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.009515, allocations: 20.12 kB / 283.4 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.009524, allocations: 11.98 kB / 283.4 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.009701, allocations: 126.9 kB / 283.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01076, allocations: 0.9303 MB / 284.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.01102, allocations: 211.9 kB / 284.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.01111, allocations: 83.45 kB / 284.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.01114, allocations: 16 kB / 284.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.01116, allocations: 41.39 kB / 284.8 MB, free: 5.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.01116, allocations: 0 / 284.8 MB, free: 5.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004914/0.01165, allocations: 348.5 kB / 285.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.01178, allocations: 445 kB / 285.6 MB, free: 4.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.01205, allocations: 442.5 kB / 286 MB, free: 4.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.01207, allocations: 33.7 kB / 286 MB, free: 4.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.01223, allocations: 319.1 kB / 286.3 MB, free: 3.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.0123, allocations: 130.8 kB / 286.5 MB, free: 3.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.01238, allocations: 87.31 kB / 286.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.01252, allocations: 0.539 MB / 287.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.0126, allocations: 65.67 kB / 287.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.01286, allocations: 0.6228 MB / 287.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.01303, allocations: 172.7 kB / 288 MB, free: 2.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01303, allocations: 7.938 kB / 288 MB, free: 1.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003174/0.01335, allocations: 343.6 kB / 288.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.01337, allocations: 41.72 kB / 288.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01338, allocations: 0 / 288.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.794e-05/0.01347, allocations: 43.34 kB / 288.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.01366, allocations: 79.89 kB / 288.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.01516, allocations: 3.544 MB / 292 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.01533, allocations: 35.83 kB / 292 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.01535, allocations: 12 kB / 292 MB, free: 13.64 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.0001215/0.01547, allocations: 184.5 kB / 292.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.01554, allocations: 59.72 kB / 292.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.01559, allocations: 60.55 kB / 292.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01559, allocations: 4 kB / 292.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01559, allocations: 0 / 292.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003122/0.0159, allocations: 0.5707 MB / 292.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.01658, allocations: 0.7061 MB / 293.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01658, allocations: 3.938 kB / 293.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.01679, allocations: 87.89 kB / 293.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.0168, allocations: 3.938 kB / 293.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01681, allocations: 11.98 kB / 293.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01681, allocations: 4 kB / 293.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01682, allocations: 0 / 293.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.0172, allocations: 452.9 kB / 294.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.01731, allocations: 99.48 kB / 294.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.01734, allocations: 12 kB / 294.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.0175, allocations: 27.95 kB / 294.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.01755, allocations: 27.95 kB / 294.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01756, allocations: 8 kB / 294.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.01771, allocations: 283 kB / 294.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01771, allocations: 0 / 294.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.01799, allocations: 143.8 kB / 294.8 MB, free: 10.74 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 9.645e-05/0.01808, allocations: 111.2 kB / 294.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.01872, allocations: 0.6167 MB / 295.5 MB, free: 9.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.01873, allocations: 4 kB / 295.5 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.0189, allocations: 103.5 kB / 295.6 MB, free: 9.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.01951, allocations: 148.1 kB / 295.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.02135, allocations: 0.8657 MB / 296.6 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.02146, allocations: 113.8 kB / 296.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.02167, allocations: 60.25 kB / 296.8 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/0.02213, allocations: 274 kB / 297 MB, free: 8.332 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02213, allocations: 0 / 297 MB, free: 8.332 MB / 282.7 MB Notification: Performance of Templates: time 0.1134/0.1355, allocations: 10.07 MB / 307.1 MB, free: 39.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.0413816142827272]