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.001496/0.001496, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001598/0.001598, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.389/1.389, allocations: 230.6 MB / 254.1 MB, free: 15.07 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09493, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.1886/0.2835, allocations: 4.86 MB / 431.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2859, allocations: 1.384 MB / 432.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.2862, allocations: 13 kB / 432.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.2866, allocations: 159.5 kB / 432.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.2873, allocations: 342.5 kB / 433.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.2877, allocations: 214.3 kB / 433.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.2886, allocations: 1.024 MB / 434.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.2888, allocations: 198.9 kB / 434.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.2893, allocations: 423.9 kB / 434.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.2897, allocations: 452.1 kB / 435.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.2899, allocations: 87.66 kB / 435.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.29, allocations: 89.34 kB / 435.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2901, allocations: 199.4 kB / 435.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.2905, allocations: 472 kB / 436.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.2916, allocations: 1.087 MB / 437.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2916, allocations: 4.703 kB / 437.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2916, allocations: 0 / 437.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.2916, allocations: 0 / 437.3 MB, free: 6.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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00197/0.2936, allocations: 1.239 MB / 438.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2936, allocations: 9.281 kB / 438.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.2937, allocations: 110.7 kB / 438.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.2939, allocations: 102.7 kB / 438.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.2946, allocations: 0.526 MB / 439.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.2947, allocations: 100.4 kB / 439.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.2948, allocations: 56.75 kB / 439.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.296, allocations: 0.8163 MB / 440.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2961, allocations: 2.188 kB / 440.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.2961, allocations: 24.91 kB / 440.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.2961, allocations: 13.19 kB / 440.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.2973, allocations: 0.51 MB / 440.8 MB, free: 4.137 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.002948/0.3003, allocations: 2.175 MB / 442.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.3016, allocations: 494.5 kB / 443.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/0.3021, allocations: 234.1 kB / 443.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.3022, allocations: 12.7 kB / 443.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007134/0.3029, allocations: 326.6 kB / 444 MB, free: 2.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.274e-06/0.3029, allocations: 1.469 kB / 444 MB, free: 2.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004795/0.3077, allocations: 1.477 MB / 445.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.3079, allocations: 0.8267 MB / 446.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.3086, allocations: 0.5881 MB / 446.9 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.3087, allocations: 43.8 kB / 446.9 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.3089, allocations: 351.1 kB / 447.3 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.309, allocations: 195.1 kB / 447.5 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.3093, allocations: 133.4 kB / 447.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3095, allocations: 379.1 kB / 448 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.3101, allocations: 217 kB / 448.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000927/0.311, allocations: 0.5223 MB / 448.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.3123, allocations: 0.5676 MB / 449.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3123, allocations: 1.188 kB / 449.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002607/0.315, allocations: 0.8886 MB / 450.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.315, allocations: 60.34 kB / 450.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.315, allocations: 1.406 kB / 450.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/0.3158, allocations: 223.1 kB / 450.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.3165, allocations: 125.8 kB / 450.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/0.3238, allocations: 4.59 MB / 455.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.3248, allocations: 87.53 kB / 455.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.3249, allocations: 20.62 kB / 455.2 MB, free: 10.52 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.0004904/0.3254, allocations: 215 kB / 455.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.3255, allocations: 84.72 kB / 455.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.3257, allocations: 78.23 kB / 455.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3257, allocations: 5.5 kB / 455.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3257, allocations: 0.75 kB / 455.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00223/0.328, allocations: 1.047 MB / 456.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.3309, allocations: 1.547 MB / 458.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3309, allocations: 0 / 458.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.3315, allocations: 108.8 kB / 458.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005913/0.3321, allocations: 166 kB / 458.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.3322, allocations: 13.27 kB / 458.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005336/0.3375, allocations: 3.949 MB / 462.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3375, allocations: 0 / 462.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.3401, allocations: 1.027 MB / 463.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.3405, allocations: 217.7 kB / 463.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3406, allocations: 18.7 kB / 463.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.3412, allocations: 42.48 kB / 463.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.3414, allocations: 49.62 kB / 463.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.3414, allocations: 19.36 kB / 463.8 MB, free: 4.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005304/0.3419, allocations: 420 kB / 464.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3419, allocations: 4.062 kB / 464.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008536/0.3428, allocations: 254.9 kB / 464.5 MB, free: 3.879 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.002851/0.3456, allocations: 1.593 MB / 466.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.3479, allocations: 0.9917 MB / 467.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.3479, allocations: 5.281 kB / 467.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3489, allocations: 0.5192 MB / 467.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009616/0.3499, allocations: 216.9 kB / 467.8 MB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.3615, allocations: 6.107 MB / 473.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.3622, allocations: 0.924 MB / 474.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005271/0.3627, allocations: 83.41 kB / 474.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.3631, allocations: 265.1 kB / 475.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3631, allocations: 0 / 475.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06677/0.4299, allocations: 22.93 MB / 498.1 MB, free: 6.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.03, allocations: 11.27 kB / 498.1 MB, free: 6.938 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 15.378984259907156]