Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.0008847/0.0008847, allocations: 174.2 kB / 16.72 MB, free: 5.047 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.153/1.153, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007353/0.0007353, allocations: 82.44 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 12 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.181, allocations: 47.57 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00317/0.1842, allocations: 4.306 MB / 379.5 MB, free: 42.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1855, allocations: 1.209 MB / 380.7 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.1858, allocations: 8.094 kB / 380.7 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.186, allocations: 113.5 kB / 380.8 MB, free: 40.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.1864, allocations: 273.8 kB / 381.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1867, allocations: 174 kB / 381.3 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007189/0.1874, allocations: 1.065 MB / 382.3 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.1877, allocations: 299.2 kB / 382.6 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.1881, allocations: 386.1 kB / 383 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1884, allocations: 457.1 kB / 383.4 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1886, allocations: 65.19 kB / 383.5 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1887, allocations: 65.75 kB / 383.6 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1888, allocations: 177.5 kB / 383.7 MB, free: 39.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.1892, allocations: 490.7 kB / 384.2 MB, free: 38.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.1897, allocations: 0.8632 MB / 385.1 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1897, allocations: 0 / 385.1 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1897, allocations: 1.188 kB / 385.1 MB, free: 38.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1897, allocations: 0 / 385.1 MB, free: 38.09 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001607/0.1913, allocations: 1.166 MB / 386.2 MB, free: 37.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1914, allocations: 8.844 kB / 386.3 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.1915, allocations: 116.5 kB / 386.4 MB, free: 37.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1917, allocations: 107.7 kB / 386.5 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.1923, allocations: 0.5465 MB / 387 MB, free: 36.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.1924, allocations: 151.5 kB / 387.2 MB, free: 36.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.1925, allocations: 61.44 kB / 387.2 MB, free: 36.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1936, allocations: 0.8693 MB / 388.1 MB, free: 35.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1936, allocations: 3.906 kB / 388.1 MB, free: 35.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.1937, allocations: 32 kB / 388.1 MB, free: 35.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1937, allocations: 20 kB / 388.2 MB, free: 35.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.1946, allocations: 0.5829 MB / 388.7 MB, free: 34.84 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.00251/0.1972, allocations: 2.155 MB / 390.9 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.1986, allocations: 0.9907 MB / 391.9 MB, free: 31.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.1991, allocations: 391 kB / 392.3 MB, free: 31.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.1992, allocations: 12.72 kB / 392.3 MB, free: 31.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1992, allocations: 55.16 kB / 392.3 MB, free: 31.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/0.1992, allocations: 0 / 392.3 MB, free: 31.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.003955/0.2032, allocations: 1.882 MB / 394.2 MB, free: 29.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.2033, allocations: 0.8273 MB / 395 MB, free: 28.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.2038, allocations: 0.6332 MB / 395.7 MB, free: 27.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.2039, allocations: 41.7 kB / 395.7 MB, free: 27.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.204, allocations: 344.9 kB / 396 MB, free: 27.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2041, allocations: 256.3 kB / 396.3 MB, free: 26.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.2042, allocations: 12 kB / 396.3 MB, free: 26.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.2043, allocations: 390.7 kB / 396.7 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.2047, allocations: 257.9 kB / 396.9 MB, free: 26.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.2053, allocations: 0.5273 MB / 397.5 MB, free: 25.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.2062, allocations: 0.6545 MB / 398.1 MB, free: 24.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2063, allocations: 4 kB / 398.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001935/0.2082, allocations: 1.112 MB / 399.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.2082, allocations: 92.22 kB / 399.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.2083, allocations: 0 / 399.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.2088, allocations: 247.2 kB / 399.6 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.2093, allocations: 131.9 kB / 399.7 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00525/0.2146, allocations: 6.518 MB / 406.2 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.2153, allocations: 103.4 kB / 406.3 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.2154, allocations: 28 kB / 406.3 MB, free: 16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002493/0.2156, allocations: 222.5 kB / 406.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2157, allocations: 90.97 kB / 406.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2159, allocations: 83.34 kB / 406.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2159, allocations: 8 kB / 406.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2159, allocations: 0 / 406.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/0.2177, allocations: 1.249 MB / 408 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.2204, allocations: 1.946 MB / 409.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2205, allocations: 0 / 409.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.221, allocations: 127.8 kB / 410.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.2214, allocations: 226.5 kB / 410.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.2215, allocations: 12 kB / 410.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.2256, allocations: 4.993 MB / 415.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2256, allocations: 0 / 415.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.2279, allocations: 1.389 MB / 416.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.2281, allocations: 239.9 kB / 416.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.2282, allocations: 20 kB / 416.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.2288, allocations: 43.95 kB / 417 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.229, allocations: 56.58 kB / 417 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.229, allocations: 31.92 kB / 417.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000374/0.2294, allocations: 451.1 kB / 417.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2294, allocations: 0 / 417.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000683/0.2301, allocations: 283.7 kB / 417.8 MB, free: 3.918 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/0.2326, allocations: 1.965 MB / 419.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.234, allocations: 1.305 MB / 421 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.234, allocations: 4 kB / 421.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.2347, allocations: 0.7067 MB / 421.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.2357, allocations: 206.8 kB / 422 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007697/0.2434, allocations: 5.291 MB / 427.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.2438, allocations: 0.9478 MB / 428.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.2442, allocations: 295.3 kB / 428.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2442, allocations: 0 / 428.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.535/4.779, allocations: 23.42 MB / 451.9 MB, free: 1.367 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches