Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001552/0.001552, allocations: 181.4 kB / 17.01 MB, free: 5.125 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.888/1.888, allocations: 205.4 MB / 223.1 MB, free: 9.035 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.0009343/0.0009341, allocations: 92.16 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 47.56 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4159, allocations: 82.02 MB / 457.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4163, allocations: 71.97 kB / 457.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05219/0.4685, allocations: 19.42 MB / 477.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4685, allocations: 3.938 kB / 477.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.405e-05/0.4686, allocations: 20 kB / 477.3 MB, free: 10.99 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.002598/0.4712, allocations: 1.294 MB / 478.6 MB, free: 9.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.4713, allocations: 8.031 kB / 478.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.4715, allocations: 126.6 kB / 478.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.4725, allocations: 0.5992 MB / 479.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.4727, allocations: 155.1 kB / 479.5 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4728, allocations: 72 kB / 479.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.4744, allocations: 0.9698 MB / 480.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.4745, allocations: 0 / 480.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.4746, allocations: 35.94 kB / 480.6 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.4746, allocations: 16 kB / 480.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.4759, allocations: 0.652 MB / 481.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.4801, allocations: 2.567 MB / 483.8 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.483, allocations: 0.9473 MB / 484.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.483, allocations: 20.64 kB / 484.8 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.4831, allocations: 47.22 kB / 484.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.765e-06/0.4831, allocations: 0 / 484.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002846/0.486, allocations: 1.49 MB / 486.3 MB, free: 1.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004406/0.4864, allocations: 0.9488 MB / 487.3 MB, free: 308 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/0.4874, allocations: 0.6841 MB / 488 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.455e-05/0.4875, allocations: 49.7 kB / 488 MB, free: 15.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.4879, allocations: 408.6 kB / 488.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.4881, allocations: 260.2 kB / 488.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.4882, allocations: 20 kB / 488.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4883, allocations: 338 kB / 489 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.4889, allocations: 269.8 kB / 489.3 MB, free: 14.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008636/0.4898, allocations: 0.5919 MB / 489.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.4905, allocations: 416.8 kB / 490.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4905, allocations: 4 kB / 490.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001862/0.4924, allocations: 0.9899 MB / 491.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.4925, allocations: 93.03 kB / 491.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4925, allocations: 4 kB / 491.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.4929, allocations: 120.2 kB / 491.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/0.4936, allocations: 163.8 kB / 491.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.4997, allocations: 6.98 MB / 498.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.5011, allocations: 115.2 kB / 498.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.5012, allocations: 24 kB / 498.8 MB, free: 3.906 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 (81): * Single equations (assignments): 73 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006739/0.5019, allocations: 233.7 kB / 499 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.5022, allocations: 114.8 kB / 499.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.5024, allocations: 105.6 kB / 499.2 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5024, allocations: 4 kB / 499.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.5025, allocations: 7.938 kB / 499.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/0.5039, allocations: 1.013 MB / 0.4885 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.5069, allocations: 1.793 MB / 0.4902 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.5069, allocations: 0 / 0.4902 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/0.5078, allocations: 163.8 kB / 0.4904 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.5079, allocations: 28.84 kB / 0.4904 GB, free: 264 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.508, allocations: 19.98 kB / 0.4905 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2113/0.7193, allocations: 1.433 MB / 0.4919 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7193, allocations: 8.125 kB / 0.4919 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.7223, allocations: 1.134 MB / 0.493 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.7229, allocations: 260.7 kB / 0.4932 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.723, allocations: 20.75 kB / 0.4932 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.7236, allocations: 47.88 kB / 0.4933 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7237, allocations: 47.67 kB / 0.4933 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.7238, allocations: 22.14 kB / 0.4933 GB, free: 101.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008158/0.7246, allocations: 0.544 MB / 0.4939 GB, free: 101.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7246, allocations: 2.906 kB / 0.4939 GB, free: 101.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001152/0.7258, allocations: 303.5 kB / 0.4942 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 (71): * Single equations (assignments): 70 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003141/0.7261, allocations: 126 kB / 0.4943 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.7286, allocations: 1.441 MB / 0.4957 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.7286, allocations: 4.312 kB / 0.4957 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.7294, allocations: 454 kB / 0.4961 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.7306, allocations: 249.8 kB / 0.4964 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.734, allocations: 2.051 MB / 0.4984 GB, free: 99.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.7345, allocations: 0.9989 MB / 0.4994 GB, free: 99.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006514/0.7352, allocations: 115.5 kB / 0.4995 GB, free: 99.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.7355, allocations: 78.89 kB / 0.4995 GB, free: 99.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.495e-06/0.7355, allocations: 4 kB / 0.4995 GB, free: 99.25 MB / 378.7 MB Notification: Performance of Templates: time 0.02557/0.7611, allocations: 15.78 MB / 0.515 GB, free: 95.72 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/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_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches