Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008057/0.008057, allocations: 108.9 kB / 21.98 MB, free: 5.184 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.002197/0.002197, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.449/1.449, allocations: 230.6 MB / 259 MB, free: 8.023 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [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.001997/0.001997, allocations: 68.05 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2516, allocations: 53.36 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006482/0.2581, allocations: 4.9 MB / 438.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.261, allocations: 1.388 MB / 439.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.2614, allocations: 15.88 kB / 439.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.2619, allocations: 158.7 kB / 439.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.2626, allocations: 341.4 kB / 440 MB, free: 168 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.2632, allocations: 215.7 kB / 440.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.2644, allocations: 1.027 MB / 441.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.2648, allocations: 206.4 kB / 441.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.2655, allocations: 418.6 kB / 441.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.2661, allocations: 454.1 kB / 442.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.2662, allocations: 88 kB / 442.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2663, allocations: 92 kB / 442.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.2665, allocations: 207.3 kB / 442.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.267, allocations: 473.8 kB / 443.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.2683, allocations: 1.077 MB / 444.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.2683, allocations: 11.92 kB / 444.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2683, allocations: 0 / 444.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.2684, allocations: 0 / 444.2 MB, free: 11.92 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.002382/0.2707, allocations: 1.16 MB / 445.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.2708, allocations: 12.03 kB / 445.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.271, allocations: 108.3 kB / 445.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.2718, allocations: 463 kB / 445.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.272, allocations: 101.3 kB / 446 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.2721, allocations: 52.38 kB / 446.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.2736, allocations: 0.7966 MB / 446.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.2736, allocations: 4 kB / 446.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.2736, allocations: 24 kB / 446.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2737, allocations: 12 kB / 446.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.275, allocations: 0.5035 MB / 447.4 MB, free: 8.508 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.003655/0.2787, allocations: 2.074 MB / 449.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.28, allocations: 498.5 kB / 450 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.2806, allocations: 234.2 kB / 450.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.2806, allocations: 13.58 kB / 450.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008003/0.2814, allocations: 322.2 kB / 450.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.555e-06/0.2814, allocations: 4 kB / 450.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005092/0.2865, allocations: 1.325 MB / 451.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004968/0.287, allocations: 0.8232 MB / 452.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008179/0.2878, allocations: 0.5862 MB / 453.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.2879, allocations: 45.7 kB / 453.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.2882, allocations: 337.2 kB / 453.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.2884, allocations: 202.2 kB / 453.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.2887, allocations: 142.3 kB / 454 MB, free: 1.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.2889, allocations: 374.8 kB / 454.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.2895, allocations: 217.1 kB / 454.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009068/0.2904, allocations: 0.5177 MB / 455.1 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2916, allocations: 0.5642 MB / 455.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2916, allocations: 3.938 kB / 455.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002318/0.2939, allocations: 0.8924 MB / 456.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.294, allocations: 59.41 kB / 456.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.294, allocations: 0 / 456.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.2948, allocations: 225.5 kB / 456.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.2954, allocations: 123.8 kB / 456.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007176/0.3026, allocations: 4.383 MB / 461.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.3034, allocations: 91.56 kB / 461.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.3035, allocations: 20 kB / 461.4 MB, free: 9.66 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.0003743/0.3039, allocations: 216.6 kB / 461.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.304, allocations: 79.53 kB / 461.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.3041, allocations: 82.84 kB / 461.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3042, allocations: 7.938 kB / 461.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3042, allocations: 0 / 461.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002253/0.3064, allocations: 1.045 MB / 462.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.3093, allocations: 1.502 MB / 464.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.3093, allocations: 4 kB / 464.3 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.3099, allocations: 103.9 kB / 464.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.3105, allocations: 177.7 kB / 464.6 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.3105, allocations: 16 kB / 464.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005371/0.3159, allocations: 3.729 MB / 468.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3159, allocations: 0 / 468.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.3183, allocations: 1.018 MB / 469.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.3187, allocations: 143.3 kB / 469.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.695e-05/0.3188, allocations: 19.98 kB / 469.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.3194, allocations: 39.95 kB / 469.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.3195, allocations: 56.41 kB / 469.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.3195, allocations: 19.92 kB / 469.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005591/0.3201, allocations: 423.1 kB / 470.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3201, allocations: 0 / 470.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008058/0.3209, allocations: 251.8 kB / 470.3 MB, free: 320 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.0001734/0.3211, allocations: 119.2 kB / 470.4 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.3231, allocations: 0.9906 MB / 471.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3232, allocations: 8.125 kB / 471.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.3241, allocations: 0.5117 MB / 471.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/0.325, allocations: 210.9 kB / 472.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.3277, allocations: 1.359 MB / 473.5 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.3283, allocations: 0.916 MB / 474.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3285, allocations: 59.42 kB / 474.5 MB, free: 12 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3285, allocations: 3.938 kB / 474.5 MB, free: 12 MB / 382.1 MB Notification: Performance of Templates: time 0.02252/0.351, allocations: 16.24 MB / 490.7 MB, free: 11.88 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 8.973520555067807]