Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001501, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007895, allocations: 94.3 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003184, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2015, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003622/0.2052, allocations: 4.225 MB / 379.4 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.207, allocations: 1.322 MB / 380.7 MB, free: 40.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.2073, allocations: 10.38 kB / 380.7 MB, free: 40.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.2076, allocations: 104.4 kB / 380.8 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.2081, allocations: 297 kB / 381.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.2084, allocations: 160.8 kB / 381.3 MB, free: 40.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007455/0.2091, allocations: 0.9498 MB / 382.2 MB, free: 39.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.2094, allocations: 265.1 kB / 382.5 MB, free: 39.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.2098, allocations: 352 kB / 382.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.2101, allocations: 400.8 kB / 383.2 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2102, allocations: 56.09 kB / 383.3 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2104, allocations: 58.88 kB / 383.3 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2105, allocations: 167.5 kB / 383.5 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.2109, allocations: 439 kB / 383.9 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.2113, allocations: 0.7912 MB / 384.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2114, allocations: 1.156 kB / 384.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2114, allocations: 0 / 384.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.2114, allocations: 0 / 384.7 MB, free: 38.32 MB / 298.7 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.001677/0.2131, allocations: 1.079 MB / 385.8 MB, free: 37.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2131, allocations: 9.688 kB / 385.8 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.2133, allocations: 109.9 kB / 385.9 MB, free: 37.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2134, allocations: 96.5 kB / 386 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.214, allocations: 0.5117 MB / 386.5 MB, free: 36.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2141, allocations: 102.5 kB / 386.6 MB, free: 36.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.2142, allocations: 56.38 kB / 386.7 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.2154, allocations: 0.827 MB / 387.5 MB, free: 36.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2154, allocations: 3.938 kB / 387.5 MB, free: 36.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.2155, allocations: 27.98 kB / 387.5 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2155, allocations: 16 kB / 387.6 MB, free: 36.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.2165, allocations: 0.536 MB / 388.1 MB, free: 35.5 MB / 298.7 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.002555/0.2191, allocations: 2.194 MB / 390.3 MB, free: 33.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2202, allocations: 0.5605 MB / 390.9 MB, free: 32.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.2207, allocations: 274.4 kB / 391.1 MB, free: 32.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.2208, allocations: 13.64 kB / 391.1 MB, free: 32.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006564/0.2214, allocations: 346.9 kB / 391.5 MB, free: 31.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.944e-06/0.2215, allocations: 0 / 391.5 MB, free: 31.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.004352/0.2258, allocations: 1.602 MB / 393.1 MB, free: 30.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.226, allocations: 0.8233 MB / 393.9 MB, free: 29.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.2265, allocations: 0.5823 MB / 394.5 MB, free: 28.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.2265, allocations: 45.7 kB / 394.5 MB, free: 28.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.2267, allocations: 340.7 kB / 394.9 MB, free: 28.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.2268, allocations: 189.2 kB / 395 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2268, allocations: 16 kB / 395.1 MB, free: 28.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.2269, allocations: 374.8 kB / 395.4 MB, free: 27.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.2274, allocations: 229 kB / 395.6 MB, free: 27.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.2281, allocations: 0.5286 MB / 396.2 MB, free: 26.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2291, allocations: 0.5927 MB / 396.8 MB, free: 26.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2291, allocations: 0 / 396.8 MB, free: 26.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001537/0.2306, allocations: 0.8624 MB / 397.6 MB, free: 25.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2307, allocations: 63.44 kB / 397.7 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2307, allocations: 0 / 397.7 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.2313, allocations: 233.4 kB / 397.9 MB, free: 25.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.2319, allocations: 131.8 kB / 398.1 MB, free: 24.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005002/0.2369, allocations: 4.292 MB / 402.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.2377, allocations: 99.38 kB / 402.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.2377, allocations: 24 kB / 402.5 MB, free: 20.22 MB / 298.7 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.238, allocations: 210.5 kB / 402.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.2381, allocations: 79.16 kB / 402.7 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2382, allocations: 82.78 kB / 402.8 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2382, allocations: 4 kB / 402.8 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2382, allocations: 4.109 kB / 402.8 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/0.2399, allocations: 1.097 MB / 403.9 MB, free: 18.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.2421, allocations: 1.583 MB / 405.5 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2421, allocations: 3.938 kB / 405.5 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.2427, allocations: 115.9 kB / 405.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.2431, allocations: 177.6 kB / 405.8 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.2432, allocations: 8 kB / 405.8 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.2466, allocations: 3.662 MB / 409.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2466, allocations: 0 / 409.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.2485, allocations: 1.074 MB / 410.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.2488, allocations: 212 kB / 410.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/0.2489, allocations: 16 kB / 410.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.2495, allocations: 52.02 kB / 410.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.2496, allocations: 52.42 kB / 410.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.2497, allocations: 19.98 kB / 410.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003607/0.25, allocations: 411.1 kB / 411.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.25, allocations: 0 / 411.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006916/0.2507, allocations: 255.7 kB / 411.5 MB, free: 10.63 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002126/0.2529, allocations: 1.646 MB / 413.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.2546, allocations: 1.05 MB / 414.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2546, allocations: 0 / 414.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007576/0.2554, allocations: 0.5517 MB / 414.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/0.2562, allocations: 199.2 kB / 415 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.262, allocations: 4.372 MB / 419.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2623, allocations: 0.92 MB / 420.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.2626, allocations: 259.3 kB / 420.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2626, allocations: 4 kB / 420.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.9/4.163, allocations: 17.38 MB / 437.9 MB, free: 8 kB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches