Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.001141/0.001141, allocations: 175 kB / 16.72 MB, free: 5.082 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.206/1.206, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007618/0.0007614, allocations: 88.98 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 12 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003468/0.2366, allocations: 3.799 MB / 379 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.2383, allocations: 1.138 MB / 380.1 MB, free: 41.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.2386, allocations: 9.531 kB / 380.1 MB, free: 41.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.2389, allocations: 87.36 kB / 380.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.2393, allocations: 229.2 kB / 380.4 MB, free: 41.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.2397, allocations: 152.1 kB / 380.6 MB, free: 41.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.2404, allocations: 0.8595 MB / 381.5 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.2407, allocations: 224.9 kB / 381.7 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.2411, allocations: 312.2 kB / 382 MB, free: 40.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.2415, allocations: 365.6 kB / 382.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.2e-05/0.2416, allocations: 48.81 kB / 382.4 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2417, allocations: 49.12 kB / 382.4 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2418, allocations: 137 kB / 382.6 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.2421, allocations: 395.4 kB / 382.9 MB, free: 39.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.2426, allocations: 0.6605 MB / 383.6 MB, free: 39.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2426, allocations: 4 kB / 383.6 MB, free: 39.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2426, allocations: 7.938 kB / 383.6 MB, free: 39.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2426, allocations: 0 / 383.6 MB, free: 39.16 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001603/0.2442, allocations: 0.9932 MB / 384.6 MB, free: 38.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2443, allocations: 13.84 kB / 384.6 MB, free: 38.35 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.2444, allocations: 101.3 kB / 384.7 MB, free: 38.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.2446, allocations: 86.41 kB / 384.8 MB, free: 38.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.2451, allocations: 476.6 kB / 385.3 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.2453, allocations: 101.4 kB / 385.4 MB, free: 37.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.911e-05/0.2454, allocations: 47.69 kB / 385.4 MB, free: 37.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2465, allocations: 0.6724 MB / 386.1 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2465, allocations: 0.9062 kB / 386.1 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.2466, allocations: 22.38 kB / 386.1 MB, free: 37.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2466, allocations: 11.53 kB / 386.1 MB, free: 37.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.2477, allocations: 475.8 kB / 386.6 MB, free: 36.98 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.002559/0.2503, allocations: 1.997 MB / 388.6 MB, free: 34.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.252, allocations: 0.7161 MB / 389.3 MB, free: 34.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.2525, allocations: 280.1 kB / 389.6 MB, free: 33.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.2525, allocations: 12.44 kB / 389.6 MB, free: 33.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2526, allocations: 39 kB / 389.6 MB, free: 33.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.894e-06/0.2526, allocations: 0 / 389.6 MB, free: 33.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004489/0.2571, allocations: 1.605 MB / 391.2 MB, free: 32.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.2572, allocations: 0.5644 MB / 391.8 MB, free: 31.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.2577, allocations: 0.5342 MB / 392.3 MB, free: 30.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.2578, allocations: 37.7 kB / 392.4 MB, free: 30.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.2579, allocations: 284.5 kB / 392.6 MB, free: 30.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.2581, allocations: 193.1 kB / 392.8 MB, free: 30.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.2581, allocations: 12 kB / 392.8 MB, free: 30.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.2582, allocations: 378.7 kB / 393.2 MB, free: 30.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.2586, allocations: 201 kB / 393.4 MB, free: 29.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.2592, allocations: 433.2 kB / 393.8 MB, free: 29.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.2601, allocations: 0.5044 MB / 394.3 MB, free: 28.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2601, allocations: 4 kB / 394.3 MB, free: 28.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002011/0.2622, allocations: 0.8498 MB / 395.2 MB, free: 27.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.2622, allocations: 37.69 kB / 395.2 MB, free: 27.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2622, allocations: 0 / 395.2 MB, free: 27.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009387/0.2632, allocations: 226.4 kB / 395.5 MB, free: 27.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.2638, allocations: 139.8 kB / 395.6 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/0.2697, allocations: 5.238 MB / 400.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.2705, allocations: 83.59 kB / 400.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.2706, allocations: 20 kB / 400.9 MB, free: 21.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.2709, allocations: 197.7 kB / 401.1 MB, free: 21.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.271, allocations: 75.12 kB / 401.2 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.273, allocations: 0.8204 MB / 402 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.273, allocations: 8 kB / 402 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.273, allocations: 4 kB / 402 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00186/0.2749, allocations: 1.082 MB / 403.1 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.2777, allocations: 1.56 MB / 404.7 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2777, allocations: 3.984 kB / 404.7 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.2784, allocations: 135.8 kB / 404.8 MB, free: 17.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007446/0.2792, allocations: 181.5 kB / 405 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.2792, allocations: 15.98 kB / 405 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/0.2831, allocations: 3.533 MB / 408.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2832, allocations: 0 / 408.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.2857, allocations: 1.132 MB / 409.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.2859, allocations: 204.2 kB / 409.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.286, allocations: 12 kB / 409.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.2865, allocations: 55.86 kB / 409.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.2866, allocations: 44.5 kB / 410 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.2867, allocations: 19.92 kB / 410 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003416/0.287, allocations: 382.8 kB / 410.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 0 / 410.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006378/0.2877, allocations: 219.8 kB / 410.6 MB, free: 11.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002618/0.2903, allocations: 1.685 MB / 412.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.2923, allocations: 1.074 MB / 413.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2923, allocations: 0 / 413.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008263/0.2931, allocations: 0.5472 MB / 413.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.294, allocations: 182.9 kB / 414.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.3002, allocations: 4.231 MB / 418.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3004, allocations: 0.8879 MB / 419.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.3007, allocations: 239.3 kB / 419.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3007, allocations: 0 / 419.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.973/4.274, allocations: 16.53 MB / 435.9 MB, free: 1.996 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches