Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009303/0.0009303, allocations: 192 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 226.5 MB / 244.7 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000758/0.0007581, allocations: 91.94 kB / 296.7 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002152/0.0002152, allocations: 8 kB / 356.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1826, allocations: 51.29 MB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.002864/0.1855, allocations: 4.324 MB / 412.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1869, allocations: 1.189 MB / 413.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.1872, allocations: 9.969 kB / 413.7 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1874, allocations: 111.2 kB / 413.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.1879, allocations: 281.7 kB / 414 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1882, allocations: 167.8 kB / 414.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000653/0.1888, allocations: 1.071 MB / 415.3 MB, free: 20.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.1891, allocations: 291.9 kB / 415.6 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1894, allocations: 382.6 kB / 415.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.1897, allocations: 458.1 kB / 416.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.1898, allocations: 64 kB / 416.4 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.19, allocations: 64 kB / 416.5 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.1901, allocations: 175.4 kB / 416.7 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.1904, allocations: 495.6 kB / 417.2 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.1908, allocations: 0.8608 MB / 418 MB, free: 17.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1908, allocations: 4 kB / 418 MB, free: 17.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1908, allocations: 0 / 418 MB, free: 17.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1908, allocations: 0 / 418 MB, free: 17.73 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.001544/0.1924, allocations: 1.158 MB / 419.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1924, allocations: 8.031 kB / 419.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.1926, allocations: 115.9 kB / 419.3 MB, free: 16.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.1927, allocations: 115.7 kB / 419.4 MB, free: 16.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.1932, allocations: 0.5475 MB / 420 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.1934, allocations: 151 kB / 420.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.1935, allocations: 60.28 kB / 420.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1945, allocations: 0.8743 MB / 421 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1945, allocations: 0 / 421 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.1946, allocations: 31.94 kB / 421.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1946, allocations: 20 kB / 421.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.1956, allocations: 0.5829 MB / 421.7 MB, free: 13.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.002597/0.1982, allocations: 2.158 MB / 423.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.1997, allocations: 0.998 MB / 424.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.2002, allocations: 383.1 kB / 425.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.2003, allocations: 20.7 kB / 425.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2003, allocations: 47.16 kB / 425.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.315e-06/0.2003, allocations: 0 / 425.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004099/0.2044, allocations: 1.883 MB / 427.2 MB, free: 8.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.2046, allocations: 0.8234 MB / 428 MB, free: 7.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.2051, allocations: 0.6332 MB / 428.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.2052, allocations: 45.7 kB / 428.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2053, allocations: 341.2 kB / 429 MB, free: 6.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2054, allocations: 260.2 kB / 429.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.2055, allocations: 15.94 kB / 429.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.2056, allocations: 390.8 kB / 429.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.206, allocations: 257.9 kB / 429.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.2066, allocations: 0.5312 MB / 430.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009437/0.2076, allocations: 0.6467 MB / 431.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2076, allocations: 0 / 431.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001945/0.2095, allocations: 1.118 MB / 432.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.2096, allocations: 85.11 kB / 432.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2096, allocations: 0 / 432.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.2102, allocations: 251.3 kB / 432.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.2107, allocations: 131.8 kB / 432.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/0.2169, allocations: 6.49 MB / 439.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.2177, allocations: 115.3 kB / 439.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.2178, allocations: 23.94 kB / 439.3 MB, free: 11 MB / 314.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.00031/0.2181, allocations: 227.6 kB / 439.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2182, allocations: 87.06 kB / 439.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2184, allocations: 95.33 kB / 439.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2184, allocations: 8 kB / 439.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2184, allocations: 0 / 439.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002072/0.2205, allocations: 1.245 MB / 440.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.2238, allocations: 1.942 MB / 442.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2238, allocations: 0 / 442.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.2244, allocations: 131.8 kB / 443 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005163/0.2249, allocations: 214.6 kB / 443.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.2249, allocations: 23.98 kB / 443.2 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005184/0.2301, allocations: 4.986 MB / 448.2 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2302, allocations: 8.156 kB / 448.2 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.2329, allocations: 1.377 MB / 449.6 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.2333, allocations: 247.8 kB / 449.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2334, allocations: 20 kB / 449.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.234, allocations: 51.97 kB / 449.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.2342, allocations: 64.5 kB / 450 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.2342, allocations: 16 kB / 450 MB, free: 15.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004955/0.2347, allocations: 451 kB / 450.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2347, allocations: 4 kB / 450.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008143/0.2356, allocations: 283.7 kB / 450.7 MB, free: 14.91 MB / 330.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.002908/0.2385, allocations: 1.961 MB / 452.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.2403, allocations: 1.305 MB / 454 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2403, allocations: 4 kB / 454 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008812/0.2412, allocations: 0.6951 MB / 454.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.2422, allocations: 230 kB / 454.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008055/0.2503, allocations: 5.278 MB / 460.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.2507, allocations: 0.944 MB / 461.1 MB, free: 4.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.2512, allocations: 303.3 kB / 461.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2512, allocations: 0 / 461.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.615/4.866, allocations: 23.42 MB / 484.8 MB, free: 12.37 MB / 362.7 MB (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches