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.00135/0.00135, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001597/0.001597, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9669/0.9669, allocations: 177 MB / 205.2 MB, free: 5.039 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.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.101e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003461/0.003482, allocations: 3.78 MB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.0051, allocations: 1.047 MB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.005305, allocations: 7.938 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.005571, allocations: 111 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.005889, allocations: 226.1 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.006121, allocations: 135.7 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.006673, allocations: 0.735 MB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.006862, allocations: 145.1 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.007165, allocations: 411.1 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.007393, allocations: 223.4 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.007452, allocations: 56 kB / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.007508, allocations: 60 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.007579, allocations: 135.5 kB / 280.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.007722, allocations: 223.5 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.008107, allocations: 474.2 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.00811, allocations: 0 / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008111, allocations: 0 / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.008117, allocations: 4 kB / 281.1 MB, free: 9.273 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.0008031/0.00892, allocations: 0.8008 MB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.008953, allocations: 19.92 kB / 282 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.009037, allocations: 80.86 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.009354, allocations: 283.7 kB / 282.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.009441, allocations: 114.6 kB / 282.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.009484, allocations: 40.38 kB / 282.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.009949, allocations: 0.7664 MB / 283.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.009962, allocations: 4.125 kB / 283.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.009988, allocations: 24.11 kB / 283.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.589e-06/0.009997, allocations: 16 kB / 283.3 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.01016, allocations: 114.9 kB / 283.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009199/0.01108, allocations: 0.685 MB / 284.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.01134, allocations: 170.6 kB / 284.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.01141, allocations: 84.5 kB / 284.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.01144, allocations: 8 kB / 284.3 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.01146, allocations: 38.56 kB / 284.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.01147, allocations: 4 kB / 284.4 MB, free: 5.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005185/0.01198, allocations: 264.5 kB / 284.6 MB, free: 5.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.0121, allocations: 452.9 kB / 285.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.01231, allocations: 359.3 kB / 285.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.01233, allocations: 37.7 kB / 285.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.01241, allocations: 209.4 kB / 285.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.01248, allocations: 130.8 kB / 285.8 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.01256, allocations: 73.66 kB / 285.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.01264, allocations: 362.7 kB / 286.2 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.01272, allocations: 61.69 kB / 286.3 MB, free: 3.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.01293, allocations: 0.5718 MB / 286.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.01309, allocations: 170.8 kB / 287 MB, free: 2.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01309, allocations: 0 / 287 MB, free: 2.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002602/0.01335, allocations: 282.3 kB / 287.3 MB, free: 2.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.01338, allocations: 29.7 kB / 287.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01338, allocations: 0 / 287.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.868e-05/0.01347, allocations: 33.69 kB / 287.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.01373, allocations: 103.8 kB / 287.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.113/0.1267, allocations: 2.403 MB / 289.9 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.1273, allocations: 46.3 kB / 289.9 MB, free: 24.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.1273, allocations: 11.41 kB / 289.9 MB, free: 24.84 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.0001569/0.1275, allocations: 135.7 kB / 290 MB, free: 24.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.1276, allocations: 46.11 kB / 290.1 MB, free: 24.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.1276, allocations: 53.42 kB / 290.1 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1276, allocations: 4.562 kB / 290.1 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1276, allocations: 0.8125 kB / 290.1 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002702/0.1279, allocations: 0.54 MB / 290.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.1287, allocations: 0.5376 MB / 291.2 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1287, allocations: 3.812 kB / 291.2 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.129, allocations: 110.4 kB / 291.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.129, allocations: 3.062 kB / 291.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.1291, allocations: 7.266 kB / 291.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1291, allocations: 2.156 kB / 291.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1291, allocations: 1.609 kB / 291.3 MB, free: 23.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.1295, allocations: 355.4 kB / 291.7 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1296, allocations: 59.5 kB / 291.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.1296, allocations: 9.188 kB / 291.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1298, allocations: 24.14 kB / 291.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.1298, allocations: 25.16 kB / 291.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1299, allocations: 6.734 kB / 291.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.13, allocations: 159.1 kB / 292 MB, free: 23.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.13, allocations: 1.781 kB / 292 MB, free: 23.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.1303, allocations: 150 kB / 292.1 MB, free: 23.8 MB / 266.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.0001017/0.1304, allocations: 88.19 kB / 292.2 MB, free: 23.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005512/0.131, allocations: 0.4967 MB / 292.7 MB, free: 23.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.131, allocations: 5.125 kB / 292.7 MB, free: 23.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1311, allocations: 90.61 kB / 292.8 MB, free: 23.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1315, allocations: 146.3 kB / 292.9 MB, free: 23.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1329, allocations: 0.8564 MB / 293.8 MB, free: 22.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.558e-05/0.133, allocations: 119.1 kB / 293.9 MB, free: 22.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.1332, allocations: 58.95 kB / 294 MB, free: 22.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.1336, allocations: 235.8 kB / 294.2 MB, free: 22.84 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1336, allocations: 0 / 294.2 MB, free: 22.84 MB / 266.7 MB Notification: Performance of Templates: time 0.01345/0.147, allocations: 10.14 MB / 304.3 MB, free: 19.54 MB / 266.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 -s gbode -gbm=radauIIA3 -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.7920980122871697]