Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009266/0.0009268, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 226.6 MB / 244.3 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007028/0.0007028, allocations: 97.19 kB / 296.4 MB, free: 6.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001853/0.0001853, allocations: 11.98 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1693, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003025/0.1723, allocations: 4.916 MB / 412.4 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1735, allocations: 1.321 MB / 413.7 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.1738, allocations: 15.94 kB / 413.7 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.174, allocations: 127 kB / 413.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.1744, allocations: 337.3 kB / 414.2 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1747, allocations: 195.7 kB / 414.4 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006284/0.1753, allocations: 1.206 MB / 415.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.1756, allocations: 327.2 kB / 415.9 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1759, allocations: 458.3 kB / 416.4 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.1763, allocations: 0.5213 MB / 416.9 MB, free: 18.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.1764, allocations: 76 kB / 417 MB, free: 18.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1765, allocations: 76 kB / 417 MB, free: 18.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1766, allocations: 215.2 kB / 417.2 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1768, allocations: 233.2 kB / 417.5 MB, free: 17.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.1773, allocations: 1.025 MB / 418.5 MB, free: 16.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1773, allocations: 0 / 418.5 MB, free: 16.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1773, allocations: 3.938 kB / 418.5 MB, free: 16.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1773, allocations: 0 / 418.5 MB, free: 16.78 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001636/0.179, allocations: 1.306 MB / 419.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.179, allocations: 12.03 kB / 419.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1792, allocations: 130.6 kB / 419.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.1798, allocations: 0.6024 MB / 420.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1799, allocations: 159.1 kB / 420.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.18, allocations: 68 kB / 420.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.1811, allocations: 0.9744 MB / 421.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1811, allocations: 0 / 421.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.1812, allocations: 36 kB / 421.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1812, allocations: 16 kB / 421.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1822, allocations: 0.6441 MB / 422.4 MB, free: 12.59 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.002805/0.1851, allocations: 2.648 MB / 425.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.1872, allocations: 0.8806 MB / 426 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.1878, allocations: 354.7 kB / 426.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.1878, allocations: 16.62 kB / 426.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1879, allocations: 47.22 kB / 426.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.623e-06/0.1879, allocations: 0 / 426.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002017/0.1899, allocations: 1.444 MB / 427.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.19, allocations: 0.9489 MB / 428.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.1907, allocations: 0.7785 MB / 429.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.1908, allocations: 45.7 kB / 429.6 MB, free: 4.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.191, allocations: 416.6 kB / 430 MB, free: 4.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1911, allocations: 244.3 kB / 430.2 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1911, allocations: 16 kB / 430.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.1912, allocations: 334 kB / 430.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.1917, allocations: 269.8 kB / 430.8 MB, free: 3.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.1923, allocations: 0.5937 MB / 431.4 MB, free: 2.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.1928, allocations: 404 kB / 431.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1928, allocations: 0 / 431.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001298/0.1941, allocations: 0.9742 MB / 432.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.1942, allocations: 89.11 kB / 432.9 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1942, allocations: 0 / 432.9 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.1945, allocations: 124.2 kB / 433 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.1951, allocations: 159.8 kB / 433.2 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.1995, allocations: 6.793 MB / 440 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/0.2003, allocations: 115.2 kB / 440.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.2003, allocations: 24.06 kB / 440.1 MB, free: 9.477 MB / 314.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 (80): * Single equations (assignments): 72 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003145/0.2007, allocations: 241.6 kB / 440.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.2008, allocations: 98.88 kB / 440.4 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.201, allocations: 100.9 kB / 440.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.201, allocations: 7.938 kB / 440.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.201, allocations: 4 kB / 440.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/0.2023, allocations: 0.9973 MB / 441.5 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.2047, allocations: 1.77 MB / 443.3 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2048, allocations: 8 kB / 443.3 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.2055, allocations: 155.8 kB / 443.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.139e-05/0.2056, allocations: 24.78 kB / 443.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.2056, allocations: 19.98 kB / 443.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007663/0.2064, allocations: 1.296 MB / 444.8 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2064, allocations: 4.031 kB / 444.8 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.2082, allocations: 1.107 MB / 445.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.2085, allocations: 255.7 kB / 446.2 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2086, allocations: 24 kB / 446.2 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.2092, allocations: 51.92 kB / 446.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.2093, allocations: 44.58 kB / 446.3 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.2094, allocations: 16 kB / 446.3 MB, free: 2.902 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005915/0.21, allocations: 0.5458 MB / 446.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.21, allocations: 4 kB / 446.8 MB, free: 2.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006134/0.2106, allocations: 291.7 kB / 447.1 MB, free: 2.074 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.2107, allocations: 119.7 kB / 447.2 MB, free: 1.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.2125, allocations: 1.413 MB / 448.7 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2125, allocations: 4 kB / 448.7 MB, free: 440 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.2132, allocations: 430.6 kB / 449.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.2142, allocations: 273.9 kB / 449.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.2168, allocations: 2.045 MB / 451.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.2173, allocations: 0.9797 MB / 452.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.2175, allocations: 79.42 kB / 452.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2175, allocations: 0 / 452.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of Templates: time 0.02302/0.2406, allocations: 24.15 MB / 476.6 MB, free: 4.516 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches