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.001763/0.001763, allocations: 88.62 kB / 20.95 MB, free: 3.473 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.001983/0.001983, allocations: 145.5 kB / 24.26 MB, free: 180 kB / 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.449/1.449, allocations: 173.4 MB / 200.8 MB, free: 9.281 MB / 186.7 MB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.308e-05, allocations: 9.906 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005207/0.00524, allocations: 3.439 MB / 270.7 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.007382, allocations: 0.9654 MB / 271.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.007579, allocations: 11.94 kB / 271.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.007922, allocations: 107.1 kB / 271.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.008399, allocations: 222.1 kB / 272 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.008707, allocations: 135.7 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009102/0.009617, allocations: 0.7389 MB / 272.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.009885, allocations: 127.2 kB / 273 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000508/0.01039, allocations: 407.1 kB / 273.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.01073, allocations: 227.3 kB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01084, allocations: 60 kB / 273.7 MB, free: 264 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.01095, allocations: 60 kB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01109, allocations: 131.5 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.0114, allocations: 231.5 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000935/0.01233, allocations: 0.736 MB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01234, allocations: 0 / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01234, allocations: 0 / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.01235, allocations: 0 / 274.9 MB, free: 15.11 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.001793/0.01414, allocations: 0.8491 MB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.01418, allocations: 8.922 kB / 275.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.01438, allocations: 96.56 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008458/0.01522, allocations: 400.5 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.01538, allocations: 110.7 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.01546, allocations: 40.38 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.01673, allocations: 0.8752 MB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01675, allocations: 192 / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.0168, allocations: 24.12 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.01681, allocations: 8 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.01771, allocations: 351.7 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.02009, allocations: 1.005 MB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/0.02104, allocations: 359.4 kB / 279 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.02151, allocations: 180.5 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.02155, allocations: 8 kB / 279.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.0216, allocations: 42.5 kB / 279.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.0216, allocations: 0 / 279.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.001781/0.02338, allocations: 0.6003 MB / 279.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003249/0.02371, allocations: 448.9 kB / 280.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.02429, allocations: 430 kB / 280.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.02434, allocations: 33.7 kB / 280.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.02458, allocations: 252.5 kB / 280.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.02472, allocations: 134.9 kB / 281.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.02488, allocations: 85.58 kB / 281.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.02511, allocations: 362.7 kB / 281.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.02554, allocations: 165.6 kB / 281.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008484/0.02639, allocations: 0.6852 MB / 282.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008653/0.02725, allocations: 354.8 kB / 282.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02725, allocations: 0 / 282.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001201/0.02845, allocations: 0.525 MB / 283.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.0285, allocations: 33.73 kB / 283.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.02851, allocations: 4 kB / 283.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.0287, allocations: 53.69 kB / 283.3 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.02916, allocations: 87.88 kB / 283.4 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.03257, allocations: 2.712 MB / 286.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.03305, allocations: 47.8 kB / 286.1 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.03308, allocations: 12 kB / 286.2 MB, free: 2.957 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.0002814/0.03336, allocations: 173.7 kB / 286.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.03349, allocations: 63.67 kB / 286.4 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.03361, allocations: 60.61 kB / 286.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.03362, allocations: 4 kB / 286.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.03362, allocations: 0 / 286.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.03483, allocations: 0.7426 MB / 287.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.03666, allocations: 0.8819 MB / 288.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.03667, allocations: 3.984 kB / 288.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.03717, allocations: 87.88 kB / 288.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.03718, allocations: 4 kB / 288.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.03721, allocations: 11.98 kB / 288.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.03721, allocations: 0 / 288.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.03721, allocations: 8 kB / 288.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.03876, allocations: 0.6761 MB / 288.9 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.03899, allocations: 91.75 kB / 289 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.03906, allocations: 12.06 kB / 289 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.03944, allocations: 31.97 kB / 289 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.03954, allocations: 23.95 kB / 289 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.03957, allocations: 15.98 kB / 289 MB, free: 15.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004337/0.04, allocations: 307.1 kB / 289.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04, allocations: 0 / 289.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.04052, allocations: 143.6 kB / 289.5 MB, free: 15.45 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.0001682/0.04069, allocations: 111.2 kB / 289.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.04204, allocations: 0.6573 MB / 290.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.04205, allocations: 4 kB / 290.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.04249, allocations: 180.2 kB / 290.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.04318, allocations: 137.9 kB / 290.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.04496, allocations: 0.9101 MB / 291.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.04523, allocations: 234.1 kB / 291.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.04548, allocations: 56.25 kB / 291.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.04562, allocations: 44.44 kB / 291.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04562, allocations: 4 kB / 291.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of Templates: time 0.01797/0.06359, allocations: 9.36 MB / 301.2 MB, free: 3.883 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.691476622945629]