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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008497/0.0008497, allocations: 92.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002192/0.0002192, allocations: 4 kB / 307.8 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07551/0.07575, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003973/0.07975, allocations: 4.459 MB / 363.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.08184, allocations: 1.379 MB / 365.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.08219, allocations: 11.94 kB / 365.2 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.08252, allocations: 123.2 kB / 365.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.08319, allocations: 305.8 kB / 365.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.08359, allocations: 183.8 kB / 365.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008909/0.08449, allocations: 0.9834 MB / 366.8 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.08483, allocations: 261.9 kB / 367.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.08532, allocations: 370.6 kB / 367.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.08582, allocations: 418.1 kB / 367.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.08595, allocations: 56 kB / 367.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.08609, allocations: 56 kB / 367.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.08623, allocations: 163.3 kB / 368.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.08668, allocations: 467.5 kB / 368.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007468/0.08743, allocations: 1.012 MB / 369.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.08744, allocations: 7.938 kB / 369.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08745, allocations: 0 / 369.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.08748, allocations: 0 / 369.6 MB, free: 2.934 MB / 302.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.001833/0.08932, allocations: 1.076 MB / 370.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.08936, allocations: 12.03 kB / 370.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.08954, allocations: 107.9 kB / 370.8 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.08972, allocations: 99.81 kB / 370.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.09036, allocations: 0.5161 MB / 371.4 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.0905, allocations: 105.3 kB / 371.5 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.09059, allocations: 52.38 kB / 371.5 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1328/0.2234, allocations: 0.8163 MB / 372.3 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.2235, allocations: 0.6875 kB / 372.3 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.2236, allocations: 27.47 kB / 372.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2236, allocations: 12.75 kB / 372.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.2249, allocations: 0.5434 MB / 372.9 MB, free: 18.47 MB / 302.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.002897/0.2278, allocations: 2.188 MB / 375.1 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.2291, allocations: 0.5644 MB / 375.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.2297, allocations: 281.7 kB / 376 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.2298, allocations: 18.19 kB / 376 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007136/0.2305, allocations: 342.9 kB / 376.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.204e-06/0.2305, allocations: 0 / 376.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.004655/0.2352, allocations: 1.603 MB / 377.9 MB, free: 17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.2353, allocations: 0.8233 MB / 378.7 MB, free: 16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.236, allocations: 0.5873 MB / 379.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.2361, allocations: 46.14 kB / 379.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.2362, allocations: 342.8 kB / 379.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2364, allocations: 187.1 kB / 379.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.2364, allocations: 49.11 kB / 379.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.2365, allocations: 387.8 kB / 380.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.2371, allocations: 222.3 kB / 380.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/0.2378, allocations: 0.5425 MB / 381.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.2388, allocations: 0.593 MB / 381.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2388, allocations: 0 / 381.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002057/0.2409, allocations: 0.9488 MB / 382.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.241, allocations: 64.31 kB / 382.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.241, allocations: 6.953 kB / 382.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.2416, allocations: 228 kB / 382.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.2422, allocations: 119.4 kB / 383 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/0.2472, allocations: 4.263 MB / 387.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.248, allocations: 97.08 kB / 387.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.248, allocations: 22.22 kB / 387.4 MB, free: 10.11 MB / 302.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.0002717/0.2483, allocations: 213.2 kB / 387.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.2484, allocations: 85.86 kB / 387.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.2485, allocations: 78.62 kB / 387.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2486, allocations: 6.75 kB / 387.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2486, allocations: 1.188 kB / 387.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001881/0.2504, allocations: 1.108 MB / 388.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.2528, allocations: 1.577 MB / 390.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2529, allocations: 4.656 kB / 390.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.2534, allocations: 113.1 kB / 390.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/0.2539, allocations: 177.6 kB / 390.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.254, allocations: 13.62 kB / 390.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/0.2576, allocations: 3.665 MB / 394.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2576, allocations: 0 / 394.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.2598, allocations: 1.078 MB / 395.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.26, allocations: 216.9 kB / 395.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.2601, allocations: 14.88 kB / 395.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.2607, allocations: 51.58 kB / 395.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2608, allocations: 58.28 kB / 395.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2609, allocations: 18.12 kB / 395.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004514/0.2613, allocations: 425.4 kB / 396.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2613, allocations: 0 / 396.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007971/0.2621, allocations: 250.1 kB / 396.5 MB, free: 3.941 MB / 302.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.002208/0.2643, allocations: 1.651 MB / 398.2 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.2662, allocations: 1.038 MB / 399.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2662, allocations: 2.156 kB / 399.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008052/0.267, allocations: 0.5574 MB / 399.8 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000818/0.2678, allocations: 199.3 kB / 400 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/0.2767, allocations: 6.788 MB / 406.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.2771, allocations: 0.916 MB / 407.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.2775, allocations: 85.22 kB / 407.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.2778, allocations: 255.3 kB / 408 MB, free: 10.64 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2778, allocations: 0 / 408 MB, free: 10.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.3311, allocations: 20.99 MB / 429 MB, free: 6.039 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/0.3314, allocations: 231.6 kB / 429.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.604, allocations: 4 kB / 429.2 MB, free: 5.781 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches