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.00132/0.00132, allocations: 191.8 kB / 17.37 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.5 MB / 244.7 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008098/0.0008099, allocations: 103.9 kB / 296.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002063/0.0002063, allocations: 4 kB / 356.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1906, allocations: 51.3 MB / 408 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003372/0.194, allocations: 4.912 MB / 412.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1957, allocations: 1.338 MB / 414.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.196, allocations: 8 kB / 414.3 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1963, allocations: 134.9 kB / 414.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.1968, allocations: 333.3 kB / 414.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1971, allocations: 199.7 kB / 414.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007603/0.1979, allocations: 1.268 MB / 416.2 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.1983, allocations: 369.3 kB / 416.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.1986, allocations: 462.3 kB / 417 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.199, allocations: 0.5135 MB / 417.5 MB, free: 18.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1991, allocations: 76 kB / 417.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1992, allocations: 80 kB / 417.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1993, allocations: 207.2 kB / 417.9 MB, free: 17.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.1997, allocations: 0.5656 MB / 418.5 MB, free: 17.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.2003, allocations: 1.024 MB / 419.5 MB, free: 16.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2003, allocations: 0 / 419.5 MB, free: 16.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2003, allocations: 4 kB / 419.5 MB, free: 16.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.2003, allocations: 0 / 419.5 MB, free: 16.23 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.001712/0.202, allocations: 1.294 MB / 420.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.2021, allocations: 12.03 kB / 420.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.2022, allocations: 127.5 kB / 420.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.2029, allocations: 0.6264 MB / 421.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.2031, allocations: 167.6 kB / 421.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.2032, allocations: 68.38 kB / 421.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2043, allocations: 0.9784 MB / 422.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.2044, allocations: 0 / 422.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.2044, allocations: 36 kB / 422.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2044, allocations: 16 kB / 422.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.2055, allocations: 0.6441 MB / 423.5 MB, free: 12.02 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.003059/0.2086, allocations: 2.652 MB / 426.1 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.2108, allocations: 0.865 MB / 427 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.2114, allocations: 364.6 kB / 427.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.2114, allocations: 16.62 kB / 427.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.2114, allocations: 55.22 kB / 427.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.794e-06/0.2115, allocations: 0 / 427.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002145/0.2136, allocations: 1.44 MB / 428.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.2138, allocations: 0.9528 MB / 429.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.2145, allocations: 0.7747 MB / 430.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.2146, allocations: 45.7 kB / 430.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.2148, allocations: 414.4 kB / 431 MB, free: 3.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2149, allocations: 248.4 kB / 431.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.2149, allocations: 12 kB / 431.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.215, allocations: 334 kB / 431.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.2155, allocations: 265.9 kB / 431.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.2161, allocations: 0.5919 MB / 432.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/0.2171, allocations: 0.6911 MB / 433.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2171, allocations: 4 kB / 433.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001336/0.2184, allocations: 0.9626 MB / 434.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.2185, allocations: 89.05 kB / 434.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2185, allocations: 0 / 434.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.2188, allocations: 136.1 kB / 434.3 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.2194, allocations: 151.8 kB / 434.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004712/0.2242, allocations: 6.797 MB / 441.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.225, allocations: 119.2 kB / 441.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.2251, allocations: 24 kB / 441.4 MB, free: 8.605 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.0003516/0.2254, allocations: 233.6 kB / 441.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.2256, allocations: 114.8 kB / 441.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.2258, allocations: 104.9 kB / 441.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2258, allocations: 4 kB / 441.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2258, allocations: 7.938 kB / 441.9 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/0.2271, allocations: 0.9818 MB / 442.8 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.2297, allocations: 1.777 MB / 444.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2297, allocations: 0 / 444.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/0.2304, allocations: 159.8 kB / 444.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.2305, allocations: 32.77 kB / 444.8 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.2306, allocations: 16 kB / 444.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/0.2313, allocations: 1.304 MB / 446.1 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2313, allocations: 32 / 446.1 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.2332, allocations: 1.107 MB / 447.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.2336, allocations: 259.7 kB / 447.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2337, allocations: 16 kB / 447.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.2343, allocations: 51.97 kB / 447.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.2345, allocations: 52.52 kB / 447.6 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.2345, allocations: 19.94 kB / 447.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006446/0.2351, allocations: 0.542 MB / 448.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2352, allocations: 0 / 448.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007494/0.2359, allocations: 287.7 kB / 448.4 MB, free: 1.195 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.0001872/0.2361, allocations: 123.2 kB / 448.6 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.2381, allocations: 1.405 MB / 450 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.2381, allocations: 4 kB / 450 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.2388, allocations: 434.5 kB / 450.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.2399, allocations: 267.2 kB / 450.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.2427, allocations: 2.038 MB / 452.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.2432, allocations: 0.9758 MB / 453.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.2434, allocations: 87.42 kB / 453.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2434, allocations: 0 / 453.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Templates: time 0.02677/0.2702, allocations: 24.13 MB / 477.9 MB, free: 3.672 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