Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008598/0.0008598, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 223.3 MB / 241 MB, free: 10.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000746/0.000746, allocations: 91.92 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002139/0.0002141, allocations: 7.938 kB / 351.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1675, allocations: 50.41 MB / 402.2 MB, free: 32.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003016/0.1706, allocations: 4.908 MB / 407.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1718, allocations: 1.296 MB / 408.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.172, allocations: 15.94 kB / 408.4 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1722, allocations: 119.1 kB / 408.5 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.1727, allocations: 337.3 kB / 408.9 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1729, allocations: 195.7 kB / 409.1 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.1736, allocations: 1.198 MB / 410.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.1739, allocations: 339 kB / 410.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.1742, allocations: 450.4 kB / 411 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.1745, allocations: 0.5252 MB / 411.5 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.941e-05/0.1746, allocations: 76 kB / 411.6 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1748, allocations: 84 kB / 411.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.1749, allocations: 203.2 kB / 411.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.175, allocations: 237.1 kB / 412.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.1755, allocations: 1.024 MB / 413.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1756, allocations: 0 / 413.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1756, allocations: 0 / 413.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1756, allocations: 7.938 kB / 413.2 MB, free: 21.56 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.001639/0.1772, allocations: 1.31 MB / 414.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.1773, allocations: 8.031 kB / 414.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.1774, allocations: 130.6 kB / 414.6 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006082/0.178, allocations: 0.5986 MB / 415.2 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.1782, allocations: 155.1 kB / 415.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.1783, allocations: 68 kB / 415.4 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1794, allocations: 0.9823 MB / 416.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1794, allocations: 4 kB / 416.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.1795, allocations: 32 kB / 416.4 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1795, allocations: 19.98 kB / 416.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.1805, allocations: 0.6364 MB / 417.1 MB, free: 17.38 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.00283/0.1833, allocations: 2.648 MB / 419.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.1855, allocations: 0.8726 MB / 420.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.186, allocations: 358.8 kB / 421 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.1861, allocations: 16.58 kB / 421 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1861, allocations: 51.22 kB / 421 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.753e-06/0.1861, allocations: 0 / 421 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001964/0.1881, allocations: 1.436 MB / 422.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1882, allocations: 0.9489 MB / 423.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.1889, allocations: 0.7902 MB / 424.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.1889, allocations: 45.7 kB / 424.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.1891, allocations: 404.6 kB / 424.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1893, allocations: 252.3 kB / 424.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.1893, allocations: 16 kB / 424.9 MB, free: 9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.1893, allocations: 334 kB / 425.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.1898, allocations: 261.9 kB / 425.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.1904, allocations: 0.6075 MB / 426.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.1909, allocations: 399.8 kB / 426.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.191, allocations: 4 kB / 426.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001291/0.1923, allocations: 0.9664 MB / 427.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.1923, allocations: 89.06 kB / 427.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1923, allocations: 4 kB / 427.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.1926, allocations: 128.2 kB / 427.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.1932, allocations: 163.8 kB / 427.8 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.1966, allocations: 6.794 MB / 434.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.1974, allocations: 115.3 kB / 434.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.1975, allocations: 23.98 kB / 434.8 MB, free: 14.25 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.0003042/0.1978, allocations: 238.2 kB / 435 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1979, allocations: 106.8 kB / 435.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1981, allocations: 100.9 kB / 435.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1981, allocations: 8 kB / 435.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1981, allocations: 3.938 kB / 435.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/0.1993, allocations: 0.9895 MB / 436.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.2018, allocations: 1.762 MB / 438 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2018, allocations: 3.984 kB / 438 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.2026, allocations: 167.7 kB / 438.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.2026, allocations: 28.8 kB / 438.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.2027, allocations: 15.98 kB / 438.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007238/0.2034, allocations: 1.304 MB / 439.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2034, allocations: 0 / 439.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.2052, allocations: 1.103 MB / 440.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.2055, allocations: 267.7 kB / 440.9 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.2056, allocations: 12 kB / 440.9 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.2063, allocations: 51.97 kB / 440.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.2064, allocations: 44.59 kB / 441 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.2064, allocations: 23.98 kB / 441 MB, free: 7.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005707/0.207, allocations: 0.5381 MB / 441.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.207, allocations: 0 / 441.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006087/0.2076, allocations: 287.7 kB / 441.8 MB, free: 6.863 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.0001456/0.2077, allocations: 135.1 kB / 441.9 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.2095, allocations: 1.409 MB / 443.3 MB, free: 5.211 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2095, allocations: 4 kB / 443.3 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.2101, allocations: 434.3 kB / 443.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.2112, allocations: 275.1 kB / 444 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2137, allocations: 2.052 MB / 446.1 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.2141, allocations: 0.9797 MB / 447.1 MB, free: 1.402 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.2143, allocations: 83.42 kB / 447.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/0.2143, allocations: 0 / 447.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of Templates: time 0.02206/0.2364, allocations: 24.13 MB / 471.3 MB, free: 9.309 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches