Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00138/0.00138, allocations: 110.5 kB / 21.17 MB, free: 0.7617 MB / 14.72 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.001514/0.001514, allocations: 212.1 kB / 24.46 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2479, allocations: 53.3 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005168/0.253, allocations: 3.809 MB / 435.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2549, allocations: 1.032 MB / 436.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.2551, allocations: 11.94 kB / 436.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.2554, allocations: 107 kB / 437 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.2558, allocations: 214.3 kB / 437.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.2561, allocations: 135.8 kB / 437.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008199/0.2569, allocations: 0.7119 MB / 438 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.2572, allocations: 142.6 kB / 438.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.2575, allocations: 271 kB / 438.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.2579, allocations: 302.7 kB / 438.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.258, allocations: 60 kB / 438.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.2581, allocations: 60 kB / 438.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2582, allocations: 127.5 kB / 439 MB, free: 400 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.2585, allocations: 318.6 kB / 439.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.2593, allocations: 0.7254 MB / 440 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2593, allocations: 0 / 440 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2593, allocations: 4 kB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2593, allocations: 0 / 440 MB, free: 15.34 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.001744/0.2611, allocations: 0.9283 MB / 441 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2611, allocations: 12.03 kB / 441 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2612, allocations: 76.5 kB / 441 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008051/0.262, allocations: 443.2 kB / 441.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.2621, allocations: 59.27 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.2622, allocations: 32.38 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/0.2631, allocations: 0.5099 MB / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2631, allocations: 0 / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.2632, allocations: 16 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2632, allocations: 8 kB / 442.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008946/0.2641, allocations: 359.7 kB / 442.4 MB, free: 12.76 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.002271/0.2664, allocations: 1.343 MB / 443.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.2673, allocations: 433 kB / 444.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.2678, allocations: 174.5 kB / 444.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.2678, allocations: 8 kB / 444.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2678, allocations: 42.31 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/0.2678, allocations: 0 / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001761/0.2696, allocations: 0.7469 MB / 445.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/0.2698, allocations: 449 kB / 445.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.2704, allocations: 482 kB / 446.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.2705, allocations: 37.7 kB / 446.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.2707, allocations: 240.7 kB / 446.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2708, allocations: 142.7 kB / 446.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.271, allocations: 85.59 kB / 446.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2711, allocations: 354.8 kB / 446.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.2716, allocations: 147.9 kB / 447.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.2721, allocations: 286.4 kB / 447.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.2729, allocations: 354.6 kB / 447.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2729, allocations: 4 kB / 447.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001123/0.2741, allocations: 496.1 kB / 448.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.2741, allocations: 29.7 kB / 448.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2741, allocations: 0 / 448.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.2743, allocations: 53.72 kB / 448.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.2747, allocations: 87.88 kB / 448.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.2775, allocations: 2.966 MB / 451.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.278, allocations: 51.73 kB / 451.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.278, allocations: 15.98 kB / 451.4 MB, free: 3.117 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.0002447/0.2783, allocations: 173.8 kB / 451.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2784, allocations: 59.62 kB / 451.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2785, allocations: 56.92 kB / 451.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2785, allocations: 4 kB / 451.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2785, allocations: 3.938 kB / 451.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.2796, allocations: 0.7322 MB / 452.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.2814, allocations: 1.044 MB / 453.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2814, allocations: 3.938 kB / 453.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.2819, allocations: 91.88 kB / 453.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2819, allocations: 4 kB / 453.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.2819, allocations: 8 kB / 453.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.2819, allocations: 7.984 kB / 453.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2819, allocations: 0 / 453.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.2833, allocations: 0.6643 MB / 454.2 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.2836, allocations: 184.5 kB / 454.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.2837, allocations: 15.94 kB / 454.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.2841, allocations: 27.97 kB / 454.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.2842, allocations: 27.95 kB / 454.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.2842, allocations: 12.06 kB / 454.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004191/0.2846, allocations: 342.8 kB / 454.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2846, allocations: 0 / 454.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004855/0.2851, allocations: 139.9 kB / 455 MB, free: 15.32 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.0001407/0.2852, allocations: 107.2 kB / 455.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2866, allocations: 0.6413 MB / 455.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2866, allocations: 4 kB / 455.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.287, allocations: 167.8 kB / 455.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.2877, allocations: 153.5 kB / 456 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.2894, allocations: 0.9682 MB / 457 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.2899, allocations: 0.8353 MB / 457.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.2901, allocations: 60.55 kB / 457.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2903, allocations: 47.42 kB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2903, allocations: 4 kB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01844/0.3087, allocations: 9.275 MB / 467.2 MB, free: 3.125 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.65262605715543]