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.001415/0.001415, allocations: 107 kB / 21.18 MB, free: 0.6445 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.001687/0.001687, allocations: 209.2 kB / 24.48 MB, free: 3.938 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 2.06/2.06, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.00151/0.00151, allocations: 47.92 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3722, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006692/0.3789, allocations: 3.448 MB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.3813, allocations: 0.985 MB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.3816, allocations: 7.938 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.3821, allocations: 111 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006143/0.3827, allocations: 206.3 kB / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.3831, allocations: 143.8 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.3842, allocations: 0.7002 MB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.3845, allocations: 147.2 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.3849, allocations: 275 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.3854, allocations: 302.8 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3855, allocations: 60 kB / 438.7 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.3857, allocations: 60 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3858, allocations: 139.5 kB / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.3863, allocations: 263 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.3897, allocations: 0.7254 MB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3898, allocations: 0 / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3898, allocations: 0 / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3898, allocations: 0 / 439.9 MB, free: 15.17 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.002264/0.392, allocations: 0.8569 MB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3921, allocations: 8.031 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.3923, allocations: 80.52 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3933, allocations: 381.3 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.3935, allocations: 114.7 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.16e-05/0.3936, allocations: 32.38 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.3951, allocations: 0.8825 MB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3952, allocations: 4 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.3952, allocations: 16 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.3952, allocations: 8 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.3965, allocations: 355.6 kB / 442.6 MB, free: 12.23 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.002908/0.3994, allocations: 0.989 MB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.4007, allocations: 358.1 kB / 443.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.4013, allocations: 176.8 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.4013, allocations: 11.92 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.4014, allocations: 42.31 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.484e-06/0.4014, allocations: 0 / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002368/0.4038, allocations: 0.5891 MB / 444.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002885/0.404, allocations: 445 kB / 445.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.4048, allocations: 433.9 kB / 445.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/0.4049, allocations: 33.7 kB / 445.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.4051, allocations: 248.5 kB / 445.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.4053, allocations: 146.7 kB / 446 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.4055, allocations: 81.64 kB / 446.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.4058, allocations: 362.7 kB / 446.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.4064, allocations: 165.6 kB / 446.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.4074, allocations: 0.6928 MB / 447.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.4086, allocations: 350.8 kB / 447.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4086, allocations: 0 / 447.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001595/0.4102, allocations: 0.5058 MB / 448.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.4102, allocations: 37.7 kB / 448.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4102, allocations: 0 / 448.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.4104, allocations: 49.69 kB / 448.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.4111, allocations: 83.88 kB / 448.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.4146, allocations: 2.704 MB / 451 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.4152, allocations: 51.75 kB / 451.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.4153, allocations: 12 kB / 451.1 MB, free: 3.094 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.0003347/0.4156, allocations: 173.7 kB / 451.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4158, allocations: 55.73 kB / 451.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.4159, allocations: 56.61 kB / 451.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4159, allocations: 7.938 kB / 451.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4159, allocations: 0 / 451.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/0.4174, allocations: 0.7322 MB / 452.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.4198, allocations: 0.8879 MB / 453 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4198, allocations: 0 / 453 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.4205, allocations: 91.88 kB / 453.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4205, allocations: 0 / 453.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.4205, allocations: 8 kB / 453.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.4206, allocations: 7.984 kB / 453.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4206, allocations: 3.938 kB / 453.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/0.4235, allocations: 0.6684 MB / 453.8 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.4238, allocations: 95.64 kB / 453.9 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4239, allocations: 12 kB / 453.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.4245, allocations: 31.97 kB / 453.9 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.4246, allocations: 27.89 kB / 453.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.4246, allocations: 8 kB / 453.9 MB, free: 52 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005443/0.4252, allocations: 311.2 kB / 454.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4252, allocations: 4 kB / 454.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007694/0.426, allocations: 143.8 kB / 454.4 MB, free: 15.61 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.0001892/0.4261, allocations: 119.1 kB / 454.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.4279, allocations: 0.6549 MB / 455.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4279, allocations: 0 / 455.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.4285, allocations: 183.6 kB / 455.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4296, allocations: 134 kB / 455.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.432, allocations: 0.9609 MB / 456.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4323, allocations: 242 kB / 456.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003663/0.4327, allocations: 56.25 kB / 456.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.4329, allocations: 47.42 kB / 456.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4329, allocations: 0 / 456.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.02542/0.4583, allocations: 10.19 MB / 466.9 MB, free: 3.172 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/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: 7.037685111994506]