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.001706/0.001706, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001987/0.001987, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.391/1.391, allocations: 230.2 MB / 254.5 MB, free: 15.26 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 63.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09713, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006033/0.1032, allocations: 4.862 MB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1829/0.2861, allocations: 1.389 MB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.2865, allocations: 11 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.2868, allocations: 157.6 kB / 433.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.2874, allocations: 341.2 kB / 433.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.2878, allocations: 219.6 kB / 433.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008767/0.2887, allocations: 1.023 MB / 434.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.289, allocations: 199.7 kB / 434.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.2895, allocations: 415.6 kB / 435.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.2899, allocations: 447.8 kB / 435.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.29, allocations: 88.06 kB / 435.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.2902, allocations: 93.78 kB / 435.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2903, allocations: 188.2 kB / 436 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.2907, allocations: 477.3 kB / 436.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.2918, allocations: 1.08 MB / 437.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2918, allocations: 1.938 kB / 437.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.2918, allocations: 4 kB / 437.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.2918, allocations: 0 / 437.6 MB, free: 6.418 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.002131/0.294, allocations: 1.243 MB / 438.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.294, allocations: 8.781 kB / 438.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.2942, allocations: 111.6 kB / 439 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2943, allocations: 102.2 kB / 439.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.2951, allocations: 0.5301 MB / 439.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.2952, allocations: 104.1 kB / 439.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.2953, allocations: 52.98 kB / 439.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.2966, allocations: 0.8098 MB / 440.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.2966, allocations: 0 / 440.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.2967, allocations: 32.66 kB / 440.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.2967, allocations: 12.97 kB / 440.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2979, allocations: 0.5067 MB / 441.1 MB, free: 4.215 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.003207/0.3011, allocations: 2.174 MB / 443.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.3024, allocations: 0.4883 MB / 443.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.303, allocations: 229.1 kB / 444 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.303, allocations: 19.39 kB / 444 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006983/0.3037, allocations: 327.4 kB / 444.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.715e-06/0.3037, allocations: 0 / 444.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004717/0.3084, allocations: 1.483 MB / 445.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/0.3087, allocations: 0.8324 MB / 446.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/0.3095, allocations: 0.5878 MB / 447.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.3095, allocations: 40.89 kB / 447.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.3098, allocations: 350.6 kB / 447.6 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.3099, allocations: 196.4 kB / 447.8 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.3102, allocations: 128.8 kB / 447.9 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.3104, allocations: 376 kB / 448.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.311, allocations: 214.2 kB / 448.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000857/0.3118, allocations: 0.5197 MB / 449 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.313, allocations: 0.5625 MB / 449.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.313, allocations: 0 / 449.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00228/0.3153, allocations: 0.8978 MB / 450.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.3153, allocations: 59.23 kB / 450.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3153, allocations: 6.406 kB / 450.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.316, allocations: 217.3 kB / 450.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.3166, allocations: 113.1 kB / 450.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.3236, allocations: 4.605 MB / 455.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3246, allocations: 82.75 kB / 455.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.3247, allocations: 26.61 kB / 455.6 MB, free: 10.57 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.0004179/0.3251, allocations: 214.6 kB / 455.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3252, allocations: 84.72 kB / 455.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.3254, allocations: 78.66 kB / 456 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3254, allocations: 5.5 kB / 456 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3254, allocations: 0.6094 kB / 456 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/0.3274, allocations: 1.04 MB / 457 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.3303, allocations: 1.546 MB / 458.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3303, allocations: 4.828 kB / 458.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.3308, allocations: 108.5 kB / 458.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/0.3314, allocations: 170.2 kB / 458.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.3314, allocations: 15.09 kB / 458.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00509/0.3365, allocations: 3.931 MB / 462.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3365, allocations: 0 / 462.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.3388, allocations: 1.029 MB / 463.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.3392, allocations: 214.1 kB / 464 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3393, allocations: 30.22 kB / 464 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.3399, allocations: 42.39 kB / 464.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.34, allocations: 53.11 kB / 464.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.34, allocations: 13.98 kB / 464.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000495/0.3405, allocations: 417.5 kB / 464.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3405, allocations: 0 / 464.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008227/0.3413, allocations: 254.1 kB / 464.8 MB, free: 3.965 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.002578/0.3439, allocations: 1.591 MB / 466.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.346, allocations: 0.9953 MB / 467.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.346, allocations: 6.688 kB / 467.4 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009316/0.3469, allocations: 0.5205 MB / 467.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.3478, allocations: 212.6 kB / 468.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.3579, allocations: 6.116 MB / 474.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.3585, allocations: 0.9212 MB / 475.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.359, allocations: 82.02 kB / 475.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.3593, allocations: 261.8 kB / 475.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3593, allocations: 0 / 475.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06156/0.4209, allocations: 22.93 MB / 498.4 MB, free: 7.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13, allocations: 10.27 kB / 498.4 MB, free: 7.008 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.39697528257966]