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.001972/0.001971, allocations: 199.4 kB / 18.06 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.861/2.861, allocations: 226.5 MB / 245.3 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005687/0.005688, allocations: 107.9 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003969, allocations: 8 kB / 357.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6443, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.856, allocations: 81.96 MB / 490.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004248/0.8565, allocations: 81.73 kB / 490.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08531/0.9418, allocations: 19.09 MB / 0.4978 GB, free: 6.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.9419, allocations: 4 kB / 0.4978 GB, free: 6.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.768e-05/0.942, allocations: 27.94 kB / 0.4979 GB, free: 6.328 MB / 378.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.003853/0.9459, allocations: 1.283 MB / 0.4991 GB, free: 4.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.842e-05/0.946, allocations: 8.031 kB / 0.4991 GB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/0.9465, allocations: 131.5 kB / 0.4993 GB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.9482, allocations: 0.6187 MB / 0.4999 GB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.9486, allocations: 163.6 kB / 0.5 GB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.9501, allocations: 64.38 kB / 0.5001 GB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.9531, allocations: 0.9749 MB / 0.501 GB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.9532, allocations: 3.938 kB / 0.501 GB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.9534, allocations: 36 kB / 0.5011 GB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.9534, allocations: 16 kB / 0.5011 GB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.9555, allocations: 0.6559 MB / 0.5017 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4559/1.411, allocations: 2.568 MB / 0.5042 GB, free: 88.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004671/1.416, allocations: 0.8791 MB / 0.5051 GB, free: 88.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/1.418, allocations: 366.1 kB / 0.5054 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/1.418, allocations: 19.22 kB / 0.5055 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.595e-05/1.418, allocations: 54.38 kB / 0.5055 GB, free: 88.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 5.671e-06/1.418, allocations: 0 / 0.5055 GB, free: 88.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.005374/1.424, allocations: 1.463 MB / 0.5069 GB, free: 87.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005026/1.424, allocations: 0.9487 MB / 0.5079 GB, free: 86.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/1.427, allocations: 0.7826 MB / 0.5086 GB, free: 86.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002983/1.427, allocations: 47.91 kB / 0.5087 GB, free: 86.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006024/1.427, allocations: 410.8 kB / 0.5091 GB, free: 86.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/1.428, allocations: 259.4 kB / 0.5093 GB, free: 86.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/1.428, allocations: 17.09 kB / 0.5093 GB, free: 86.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/1.428, allocations: 335.8 kB / 0.5097 GB, free: 85.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/1.43, allocations: 276.3 kB / 0.5099 GB, free: 85.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/1.432, allocations: 0.597 MB / 0.5105 GB, free: 85.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.434, allocations: 0.7018 MB / 0.5112 GB, free: 85.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.434, allocations: 0 / 0.5112 GB, free: 85.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003376/1.437, allocations: 0.9889 MB / 0.5122 GB, free: 85.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.437, allocations: 88.58 kB / 0.5122 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.437, allocations: 2.688 kB / 0.5122 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/1.438, allocations: 126.2 kB / 0.5124 GB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.439, allocations: 164.4 kB / 0.5125 GB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/1.446, allocations: 6.788 MB / 0.5191 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/1.448, allocations: 106.4 kB / 0.5192 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.448, allocations: 33.84 kB / 0.5193 GB, free: 78.58 MB / 378.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 (82): * Single equations (assignments): 74 * 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.0009567/1.449, allocations: 243.1 kB / 0.5195 GB, free: 78.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/1.449, allocations: 103.8 kB / 0.5196 GB, free: 78.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/1.45, allocations: 106.9 kB / 0.5197 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.45, allocations: 7.344 kB / 0.5197 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/1.45, allocations: 7.5 kB / 0.5197 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002197/1.452, allocations: 1.01 MB / 0.5207 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/1.457, allocations: 1.791 MB / 0.5225 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/1.457, allocations: 0 / 0.5225 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.458, allocations: 164.7 kB / 0.5226 GB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/1.458, allocations: 29.31 kB / 0.5226 GB, free: 76.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/1.458, allocations: 15.3 kB / 0.5227 GB, free: 76.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/1.459, allocations: 1.307 MB / 0.5239 GB, free: 75.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.459, allocations: 7.469 kB / 0.5239 GB, free: 75.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/1.462, allocations: 1.128 MB / 0.525 GB, free: 74.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/1.463, allocations: 264.8 kB / 0.5253 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.463, allocations: 19.25 kB / 0.5253 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/1.464, allocations: 51.56 kB / 0.5254 GB, free: 74.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.464, allocations: 45.05 kB / 0.5254 GB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/1.464, allocations: 26 kB / 0.5254 GB, free: 74.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001173/1.466, allocations: 0.5364 MB / 0.526 GB, free: 74.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.466, allocations: 0 / 0.526 GB, free: 74.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001411/1.467, allocations: 300.4 kB / 0.5262 GB, free: 74.3 MB / 378.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 (72): * Single equations (assignments): 71 * 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.0003344/1.467, allocations: 141.1 kB / 0.5264 GB, free: 74.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003134/1.471, allocations: 1.424 MB / 0.5278 GB, free: 73.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.471, allocations: 0 / 0.5278 GB, free: 73.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009841/1.472, allocations: 450.6 kB / 0.5282 GB, free: 73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.474, allocations: 264.9 kB / 0.5284 GB, free: 72.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/1.479, allocations: 2.094 MB / 0.5305 GB, free: 71.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/1.479, allocations: 0.9783 MB / 0.5315 GB, free: 71.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/1.48, allocations: 79.42 kB / 0.5315 GB, free: 71.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/1.48, allocations: 3.938 kB / 0.5315 GB, free: 71.02 MB / 378.7 MB Notification: Performance of Templates: time 0.04774/1.528, allocations: 24 MB / 0.555 GB, free: 51.54 MB / 378.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/jenkins1/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