Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001368/0.001368, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.00154/0.00154, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.521/1.521, allocations: 230.5 MB / 254.1 MB, free: 15.1 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_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_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.86 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1028, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.1842/0.287, allocations: 4.864 MB / 431.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2891, allocations: 1.393 MB / 433 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.2894, allocations: 14.47 kB / 433.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.2897, allocations: 154.2 kB / 433.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.2903, allocations: 345.3 kB / 433.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.2906, allocations: 213.9 kB / 433.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007761/0.2914, allocations: 1.02 MB / 434.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.2917, allocations: 203.1 kB / 435 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.2921, allocations: 419.2 kB / 435.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.2926, allocations: 457.5 kB / 435.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.2927, allocations: 87.44 kB / 435.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.2929, allocations: 89.38 kB / 436 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.293, allocations: 194.1 kB / 436.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.2934, allocations: 473.7 kB / 436.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.2945, allocations: 1.083 MB / 437.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2945, allocations: 4 kB / 437.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2945, allocations: 0.9688 kB / 437.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2945, allocations: 0 / 437.7 MB, free: 6.742 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.0021/0.2966, allocations: 1.245 MB / 439 MB, free: 5.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2966, allocations: 10.44 kB / 439 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.2968, allocations: 104.9 kB / 439.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.2975, allocations: 0.5223 MB / 439.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.2976, allocations: 98.2 kB / 439.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.872e-05/0.2977, allocations: 52.62 kB / 439.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.299, allocations: 0.8012 MB / 440.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.299, allocations: 1.734 kB / 440.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.2991, allocations: 27.91 kB / 440.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2991, allocations: 12.94 kB / 440.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3004, allocations: 0.4999 MB / 441.1 MB, free: 4.633 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.003267/0.3037, allocations: 2.152 MB / 443.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.305, allocations: 0.4898 MB / 443.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.3057, allocations: 233.6 kB / 444 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.3057, allocations: 12.69 kB / 444 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/0.3065, allocations: 323.2 kB / 444.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.364e-06/0.3065, allocations: 0 / 444.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.005393/0.3119, allocations: 1.481 MB / 445.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.312, allocations: 0.8258 MB / 446.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.3128, allocations: 0.5887 MB / 447.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.3128, allocations: 40.08 kB / 447.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.3131, allocations: 342.4 kB / 447.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3132, allocations: 195.1 kB / 447.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.3134, allocations: 131.7 kB / 447.9 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3136, allocations: 385.1 kB / 448.3 MB, free: 104 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006197/0.3142, allocations: 212 kB / 448.5 MB, free: 32 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.3154, allocations: 0.5257 MB / 449 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.3169, allocations: 0.5622 MB / 449.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3169, allocations: 1.094 kB / 449.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002711/0.3196, allocations: 0.8961 MB / 450.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.3197, allocations: 61.41 kB / 450.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.3197, allocations: 2.5 kB / 450.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009587/0.3207, allocations: 225.7 kB / 450.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.3214, allocations: 112.8 kB / 450.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008173/0.3295, allocations: 4.597 MB / 455.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3308, allocations: 82.45 kB / 455.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.3309, allocations: 22.38 kB / 455.6 MB, free: 11.05 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.0004511/0.3313, allocations: 220.8 kB / 455.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.3315, allocations: 81.39 kB / 455.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.3317, allocations: 77.52 kB / 455.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3317, allocations: 10.81 kB / 455.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3317, allocations: 0 / 455.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002331/0.334, allocations: 1.043 MB / 457 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.3371, allocations: 1.536 MB / 458.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3371, allocations: 0 / 458.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.3378, allocations: 107.6 kB / 458.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006135/0.3384, allocations: 177.9 kB / 458.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/0.3384, allocations: 11.72 kB / 458.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/0.3443, allocations: 3.949 MB / 462.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3443, allocations: 1.125 kB / 462.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.3471, allocations: 1.02 MB / 463.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.3475, allocations: 222 kB / 464 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3476, allocations: 18.78 kB / 464 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.3483, allocations: 42.3 kB / 464.1 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.3484, allocations: 54.14 kB / 464.1 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.3485, allocations: 13.72 kB / 464.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005864/0.3491, allocations: 421.4 kB / 464.5 MB, free: 4.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3491, allocations: 0 / 464.5 MB, free: 4.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000976/0.35, allocations: 253.3 kB / 464.8 MB, free: 4.363 MB / 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.0001793/0.3502, allocations: 117.8 kB / 464.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.3525, allocations: 0.9928 MB / 465.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3525, allocations: 2.406 kB / 465.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.3536, allocations: 0.523 MB / 466.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/0.3546, allocations: 218.7 kB / 466.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.3575, allocations: 1.303 MB / 467.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.3581, allocations: 0.9138 MB / 468.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.3585, allocations: 83.03 kB / 468.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.3586, allocations: 54.7 kB / 469 MB, free: 1.453 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3586, allocations: 7.938 kB / 469 MB, free: 1.445 MB / 366.1 MB Notification: Performance of Templates: time 0.02956/0.3882, allocations: 16.5 MB / 485.5 MB, free: 4.227 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.308159951120615]