Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 181.6 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008028/0.0008028, allocations: 85.42 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.307, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4158, allocations: 82.11 MB / 457.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.4162, allocations: 71.97 kB / 457.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05238/0.4686, allocations: 19.41 MB / 477.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4686, allocations: 0 / 477.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.631e-05/0.4687, allocations: 20 kB / 477.3 MB, free: 10.87 MB / 362.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.003249/0.472, allocations: 1.283 MB / 478.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.286e-05/0.4721, allocations: 12.02 kB / 478.6 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.4725, allocations: 127.5 kB / 478.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.474, allocations: 0.6303 MB / 479.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.4743, allocations: 155.6 kB / 479.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.4745, allocations: 68.38 kB / 479.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.4765, allocations: 0.9742 MB / 480.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.4765, allocations: 7.938 kB / 480.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.4767, allocations: 39.94 kB / 480.6 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.4767, allocations: 19.94 kB / 480.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.4784, allocations: 0.6597 MB / 481.3 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.484, allocations: 2.571 MB / 483.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.4866, allocations: 0.8824 MB / 484.8 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007578/0.4874, allocations: 374.7 kB / 485.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.814e-05/0.4874, allocations: 8.656 kB / 485.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.4875, allocations: 51.22 kB / 485.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.274e-06/0.4875, allocations: 0 / 485.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002747/0.4903, allocations: 1.467 MB / 486.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004739/0.4908, allocations: 0.9527 MB / 487.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.4919, allocations: 0.7825 MB / 488.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.744e-05/0.492, allocations: 45.7 kB / 488.4 MB, free: 15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.4924, allocations: 408.6 kB / 488.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.4927, allocations: 264.1 kB / 489.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.4927, allocations: 12.11 kB / 489.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4929, allocations: 341.9 kB / 489.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.4936, allocations: 269.9 kB / 489.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009379/0.4945, allocations: 0.5997 MB / 490.3 MB, free: 13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.4959, allocations: 0.6991 MB / 491 MB, free: 12.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.4959, allocations: 0 / 491 MB, free: 12.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001915/0.4978, allocations: 0.9859 MB / 492 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.4979, allocations: 93.16 kB / 492.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4979, allocations: 0 / 492.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.4983, allocations: 124.2 kB / 492.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.4991, allocations: 167.8 kB / 492.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/0.5053, allocations: 6.788 MB / 499.1 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.5061, allocations: 115.2 kB / 499.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.5062, allocations: 24 kB / 499.3 MB, free: 3.234 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.0005681/0.5068, allocations: 237.8 kB / 499.5 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.5071, allocations: 106.7 kB / 499.6 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.5074, allocations: 109.6 kB / 499.7 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5074, allocations: 8 kB / 499.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.5074, allocations: 0 / 499.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/0.5091, allocations: 1.005 MB / 0.489 GB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2219/0.731, allocations: 1.779 MB / 0.4907 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.731, allocations: 3.75 kB / 0.4907 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.7321, allocations: 169.3 kB / 0.4909 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001399/0.7322, allocations: 26.92 kB / 0.4909 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.7323, allocations: 17.25 kB / 0.4909 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009992/0.7333, allocations: 1.3 MB / 0.4922 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7333, allocations: 4.281 kB / 0.4922 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.736, allocations: 1.137 MB / 0.4933 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.7365, allocations: 259.4 kB / 0.4936 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.7367, allocations: 23.58 kB / 0.4936 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.7372, allocations: 41.02 kB / 0.4936 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7373, allocations: 47.47 kB / 0.4937 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.7374, allocations: 27.2 kB / 0.4937 GB, free: 101.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008417/0.7382, allocations: 0.5395 MB / 0.4942 GB, free: 101.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7382, allocations: 1.125 kB / 0.4942 GB, free: 101.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00103/0.7392, allocations: 303 kB / 0.4945 GB, free: 101.8 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.0002886/0.7395, allocations: 135.5 kB / 0.4947 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.7418, allocations: 1.421 MB / 0.496 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.7418, allocations: 6.438 kB / 0.496 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.7426, allocations: 447.3 kB / 0.4965 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.744, allocations: 265.6 kB / 0.4967 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.7476, allocations: 2.086 MB / 0.4988 GB, free: 99.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.7482, allocations: 0.98 MB / 0.4997 GB, free: 99.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.7485, allocations: 84.72 kB / 0.4998 GB, free: 99.21 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.7485, allocations: 0 / 0.4998 GB, free: 99.21 MB / 378.7 MB Notification: Performance of Templates: time 0.03334/0.7819, allocations: 24.01 MB / 0.5232 GB, free: 87.6 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches