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.001004/0.001004, allocations: 176.9 kB / 17.4 MB, free: 4.297 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.365/1.365, allocations: 223.3 MB / 241.4 MB, free: 9.945 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.0007943/0.0007943, allocations: 97.69 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004478, allocations: 11.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 50.4 MB / 402.7 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08963/0.298, allocations: 81.26 MB / 484 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.2982, allocations: 75.95 kB / 484.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04922/0.3474, allocations: 19.05 MB / 0.4913 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3474, allocations: 0 / 0.4913 GB, free: 11.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.822e-05/0.3475, allocations: 24 kB / 0.4913 GB, free: 11.75 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.002751/0.3503, allocations: 1.294 MB / 0.4926 GB, free: 10.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3503, allocations: 8.031 kB / 0.4926 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.3507, allocations: 131.5 kB / 0.4927 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.3521, allocations: 0.6187 MB / 0.4933 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.3524, allocations: 155.6 kB / 0.4935 GB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.3525, allocations: 76.36 kB / 0.4936 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3542, allocations: 0.9712 MB / 0.4945 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3542, allocations: 3.938 kB / 0.4945 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.3543, allocations: 32 kB / 0.4946 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.3543, allocations: 16 kB / 0.4946 GB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3557, allocations: 0.6558 MB / 0.4952 GB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.3601, allocations: 2.568 MB / 0.4977 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.3625, allocations: 0.8781 MB / 0.4986 GB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.3633, allocations: 370.7 kB / 0.4989 GB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.134e-05/0.3634, allocations: 16.62 kB / 0.4989 GB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3634, allocations: 47.22 kB / 0.499 GB, free: 3.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.276e-06/0.3634, allocations: 0 / 0.499 GB, free: 3.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002845/0.3663, allocations: 1.463 MB / 0.5004 GB, free: 1.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004442/0.3667, allocations: 0.9528 MB / 0.5013 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1777/0.5444, allocations: 0.7678 MB / 0.5021 GB, free: 93.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.5447, allocations: 45.86 kB / 0.5021 GB, free: 93.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/0.5452, allocations: 410.7 kB / 0.5025 GB, free: 92.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.5455, allocations: 257.7 kB / 0.5028 GB, free: 92.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.5456, allocations: 16 kB / 0.5028 GB, free: 92.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.5456, allocations: 338.7 kB / 0.5031 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.5463, allocations: 269 kB / 0.5034 GB, free: 92.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/0.5472, allocations: 0.6022 MB / 0.504 GB, free: 92.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.5485, allocations: 0.6969 MB / 0.5046 GB, free: 92.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5485, allocations: 1.375 kB / 0.5046 GB, free: 92.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001898/0.5504, allocations: 1.001 MB / 0.5056 GB, free: 91.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.5505, allocations: 85.48 kB / 0.5057 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.5505, allocations: 1.5 kB / 0.5057 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.5508, allocations: 127.3 kB / 0.5058 GB, free: 91.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.5516, allocations: 165.4 kB / 0.506 GB, free: 91.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.5556, allocations: 6.785 MB / 0.5126 GB, free: 85.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.5564, allocations: 122.1 kB / 0.5127 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.5565, allocations: 26.19 kB / 0.5128 GB, free: 85.47 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.0003719/0.5569, allocations: 234.8 kB / 0.513 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.557, allocations: 102.7 kB / 0.5131 GB, free: 85.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.5572, allocations: 106.2 kB / 0.5132 GB, free: 85.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.5572, allocations: 7.062 kB / 0.5132 GB, free: 85.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5572, allocations: 3.938 kB / 0.5132 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/0.5583, allocations: 1.01 MB / 0.5142 GB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.5605, allocations: 1.79 MB / 0.5159 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5606, allocations: 3.906 kB / 0.5159 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/0.5613, allocations: 166.5 kB / 0.5161 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.77e-05/0.5614, allocations: 30.25 kB / 0.5161 GB, free: 84.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.5614, allocations: 11.62 kB / 0.5161 GB, free: 84.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006058/0.562, allocations: 1.315 MB / 0.5174 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.562, allocations: 0 / 0.5174 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.5637, allocations: 1.141 MB / 0.5185 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.564, allocations: 260 kB / 0.5188 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5641, allocations: 22.69 kB / 0.5188 GB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.5645, allocations: 46.47 kB / 0.5188 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.5646, allocations: 46.14 kB / 0.5189 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.5647, allocations: 18.89 kB / 0.5189 GB, free: 82.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005408/0.5652, allocations: 0.54 MB / 0.5194 GB, free: 82.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5652, allocations: 6.094 kB / 0.5194 GB, free: 82.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006708/0.5659, allocations: 304.2 kB / 0.5197 GB, free: 82.13 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.0001656/0.5661, allocations: 145.2 kB / 0.5199 GB, free: 82.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.5677, allocations: 1.423 MB / 0.5212 GB, free: 81.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5677, allocations: 3.281 kB / 0.5213 GB, free: 81.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.5682, allocations: 453.1 kB / 0.5217 GB, free: 80.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.5693, allocations: 261.6 kB / 0.5219 GB, free: 80.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.572, allocations: 2.055 MB / 0.5239 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.5724, allocations: 0.9794 MB / 0.5249 GB, free: 78.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.5729, allocations: 116.5 kB / 0.525 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.5731, allocations: 80.89 kB / 0.5251 GB, free: 78.89 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5731, allocations: 0 / 0.5251 GB, free: 78.89 MB / 378.7 MB Notification: Performance of Templates: time 0.02373/0.5968, allocations: 16.13 MB / 0.5408 GB, free: 68.92 MB / 378.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