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.001743/0.001743, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002102/0.002102, allocations: 214 kB / 23.73 MB, free: 4.16 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002213/0.002213, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2578, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005049/0.2629, allocations: 3.455 MB / 435 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2646, allocations: 0.9735 MB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.2647, allocations: 15.94 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.2651, allocations: 107 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.2655, allocations: 206.3 kB / 436.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.2657, allocations: 139.8 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008222/0.2666, allocations: 0.719 MB / 437.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.2668, allocations: 127.2 kB / 437.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.2671, allocations: 282.9 kB / 437.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.2675, allocations: 258.8 kB / 437.8 MB, free: 460 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.863e-05/0.2676, allocations: 56 kB / 437.9 MB, free: 404 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2677, allocations: 64 kB / 437.9 MB, free: 340 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2678, allocations: 139.4 kB / 438.1 MB, free: 200 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.2681, allocations: 266.9 kB / 438.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.2689, allocations: 0.7221 MB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2689, allocations: 0 / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2689, allocations: 0 / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.2689, allocations: 0 / 439.1 MB, free: 15.21 MB / 350.1 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.001637/0.2705, allocations: 0.8674 MB / 439.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2706, allocations: 8.031 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.2707, allocations: 72.52 kB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.2715, allocations: 377.3 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.2716, allocations: 114.7 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.2717, allocations: 44.31 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.2728, allocations: 0.8786 MB / 441.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2729, allocations: 4 kB / 441.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.2729, allocations: 16 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2729, allocations: 8 kB / 441.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.2738, allocations: 355.7 kB / 441.8 MB, free: 12.26 MB / 350.1 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.001999/0.2758, allocations: 0.9851 MB / 442.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.2767, allocations: 356.8 kB / 443.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.2771, allocations: 176.8 kB / 443.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.2772, allocations: 7.984 kB / 443.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.2772, allocations: 46.31 kB / 443.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.2772, allocations: 0 / 443.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001621/0.2788, allocations: 0.5891 MB / 443.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002514/0.2791, allocations: 441 kB / 444.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.2796, allocations: 445.9 kB / 444.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.2797, allocations: 29.7 kB / 444.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.2799, allocations: 252.5 kB / 445.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.28, allocations: 134.8 kB / 445.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.2801, allocations: 81.64 kB / 445.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2803, allocations: 362.7 kB / 445.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.2807, allocations: 165.6 kB / 445.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007627/0.2815, allocations: 0.6928 MB / 446.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/0.2823, allocations: 350.8 kB / 446.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2823, allocations: 0 / 446.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001103/0.2834, allocations: 0.5096 MB / 447.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.2834, allocations: 29.7 kB / 447.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2834, allocations: 7.922 kB / 447.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.2836, allocations: 49.7 kB / 447.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.284, allocations: 83.88 kB / 447.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.2868, allocations: 2.708 MB / 450.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.2872, allocations: 51.95 kB / 450.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2872, allocations: 15.94 kB / 450.3 MB, free: 3.129 MB / 350.1 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.0002187/0.2874, allocations: 173.7 kB / 450.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2875, allocations: 55.67 kB / 450.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.2876, allocations: 52.61 kB / 450.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2876, allocations: 4 kB / 450.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2876, allocations: 4 kB / 450.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.2887, allocations: 0.7361 MB / 451.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.2904, allocations: 0.8843 MB / 452.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2904, allocations: 0 / 452.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.2909, allocations: 91.88 kB / 452.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.2909, allocations: 7.984 kB / 452.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.2909, allocations: 7.984 kB / 452.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2909, allocations: 4 kB / 452.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2909, allocations: 3.938 kB / 452.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.2923, allocations: 0.6684 MB / 453 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.2925, allocations: 95.58 kB / 453.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.2926, allocations: 8 kB / 453.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.293, allocations: 27.97 kB / 453.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.293, allocations: 35.89 kB / 453.1 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2931, allocations: 4 kB / 453.1 MB, free: 92 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.2935, allocations: 315.3 kB / 453.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2935, allocations: 0 / 453.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.294, allocations: 147.8 kB / 453.6 MB, free: 15.64 MB / 366.1 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.0001406/0.2941, allocations: 111.1 kB / 453.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.2955, allocations: 0.6628 MB / 454.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2955, allocations: 0 / 454.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.2959, allocations: 171.5 kB / 454.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.2966, allocations: 130 kB / 454.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2984, allocations: 0.9773 MB / 455.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.2986, allocations: 230 kB / 455.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.2989, allocations: 60.25 kB / 455.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.299, allocations: 43.42 kB / 456 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.299, allocations: 0 / 456 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01777/0.3168, allocations: 10.09 MB / 466 MB, free: 3.309 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.833645531907678]