Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001835/0.001835, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.002274/0.002274, allocations: 217.8 kB / 24.49 MB, free: 4.172 MB / 14.72 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 1.509/1.509, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.91 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.251, allocations: 53.41 MB / 432.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00943/0.2604, allocations: 4.895 MB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.2642, allocations: 1.388 MB / 438.7 MB, free: 492 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007158/0.2649, allocations: 11.94 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.2656, allocations: 158.7 kB / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.2669, allocations: 345.3 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.2676, allocations: 219.6 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.2693, allocations: 1.026 MB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.2698, allocations: 210.4 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.2706, allocations: 418.6 kB / 441.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.2711, allocations: 458.1 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.2713, allocations: 88 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.2714, allocations: 88 kB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.2716, allocations: 195.3 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004709/0.2721, allocations: 485.8 kB / 442.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.2732, allocations: 1.077 MB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2732, allocations: 0 / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2732, allocations: 0 / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2733, allocations: 0 / 443.4 MB, free: 11.73 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002326/0.2756, allocations: 1.168 MB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2756, allocations: 12.03 kB / 444.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.2758, allocations: 104.3 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008528/0.2767, allocations: 478.9 kB / 445.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.2768, allocations: 152.7 kB / 445.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2769, allocations: 52.38 kB / 445.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.2783, allocations: 0.7888 MB / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.2784, allocations: 0 / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.2784, allocations: 28 kB / 446.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2784, allocations: 12 kB / 446.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.2797, allocations: 0.5074 MB / 446.7 MB, free: 8.242 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.003522/0.2832, allocations: 2.066 MB / 448.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.2845, allocations: 0.4905 MB / 449.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.2851, allocations: 234.2 kB / 449.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.085e-05/0.2851, allocations: 17.56 kB / 449.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/0.2859, allocations: 318.2 kB / 449.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.414e-06/0.2859, allocations: 0 / 449.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004911/0.2908, allocations: 1.333 MB / 451.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004778/0.2912, allocations: 0.8232 MB / 452 MB, free: 2.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.292, allocations: 0.5862 MB / 452.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.2921, allocations: 41.7 kB / 452.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.2924, allocations: 337.2 kB / 452.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.2926, allocations: 202.3 kB / 453.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.2928, allocations: 134.3 kB / 453.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.293, allocations: 382.8 kB / 453.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.2936, allocations: 209.2 kB / 453.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008866/0.2945, allocations: 0.5224 MB / 454.4 MB, free: 72 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.2957, allocations: 0.5642 MB / 454.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.2957, allocations: 0 / 454.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00227/0.298, allocations: 0.9 MB / 455.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.298, allocations: 59.41 kB / 455.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.298, allocations: 0 / 455.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007435/0.2988, allocations: 225.5 kB / 456.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.2994, allocations: 115.8 kB / 456.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006779/0.3062, allocations: 4.393 MB / 460.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.3069, allocations: 83.58 kB / 460.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.307, allocations: 20 kB / 460.7 MB, free: 9.406 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003474/0.3073, allocations: 217.7 kB / 460.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3074, allocations: 79.53 kB / 461 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.3076, allocations: 78.86 kB / 461.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.3076, allocations: 7.938 kB / 461.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3076, allocations: 0 / 461.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002224/0.3098, allocations: 1.049 MB / 462.2 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.3127, allocations: 1.502 MB / 463.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3127, allocations: 0 / 463.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.3133, allocations: 107.8 kB / 463.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/0.3138, allocations: 177.5 kB / 463.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.3139, allocations: 15.98 kB / 463.9 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/0.319, allocations: 3.718 MB / 467.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.319, allocations: 4.031 kB / 467.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.3214, allocations: 1.022 MB / 468.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.3218, allocations: 143.2 kB / 468.8 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3219, allocations: 16 kB / 468.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/0.3225, allocations: 39.95 kB / 468.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3226, allocations: 56.39 kB / 468.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.3227, allocations: 16 kB / 469 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00055/0.3232, allocations: 419.1 kB / 469.4 MB, free: 320 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3232, allocations: 0 / 469.4 MB, free: 320 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008215/0.324, allocations: 255.8 kB / 469.6 MB, free: 64 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000189/0.3242, allocations: 119.4 kB / 469.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.3263, allocations: 0.994 MB / 470.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3263, allocations: 0 / 470.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3273, allocations: 0.5239 MB / 471.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009076/0.3282, allocations: 211.2 kB / 471.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.331, allocations: 1.353 MB / 472.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.3315, allocations: 0.9122 MB / 473.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3317, allocations: 59.42 kB / 473.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3317, allocations: 0 / 473.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of Templates: time 0.0218/0.3535, allocations: 16.25 MB / 490 MB, free: 11.61 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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: 9.349398027174175]