Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 197.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008923/0.0008917, allocations: 112.2 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002215/0.0002215, allocations: 8 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1999, allocations: 51.47 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09446/0.2944, allocations: 82.04 MB / 491.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.2946, allocations: 71.97 kB / 491.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04727/0.3419, allocations: 19.1 MB / 0.4986 GB, free: 5.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.342, allocations: 0 / 0.4986 GB, free: 5.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.779e-05/0.342, allocations: 23.94 kB / 0.4987 GB, free: 5.234 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.00219/0.3442, allocations: 1.302 MB / 0.4999 GB, free: 3.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3443, allocations: 8.031 kB / 0.4999 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.3445, allocations: 130.6 kB / 0.5001 GB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.3454, allocations: 0.5915 MB / 0.5006 GB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.3456, allocations: 159.1 kB / 0.5008 GB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.3457, allocations: 71.98 kB / 0.5009 GB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.3471, allocations: 0.9665 MB / 0.5018 GB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3471, allocations: 0 / 0.5018 GB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.3472, allocations: 36 kB / 0.5018 GB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3472, allocations: 20 kB / 0.5019 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3485, allocations: 0.6481 MB / 0.5025 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1736/0.5221, allocations: 2.56 MB / 0.505 GB, free: 87.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.5249, allocations: 0.9373 MB / 0.5059 GB, free: 87.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.5249, allocations: 19.88 kB / 0.5059 GB, free: 87.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.525, allocations: 51.41 kB / 0.506 GB, free: 87.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.304e-06/0.525, allocations: 0.6562 kB / 0.506 GB, free: 87.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002503/0.5275, allocations: 1.481 MB / 0.5074 GB, free: 86.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.5277, allocations: 0.9503 MB / 0.5084 GB, free: 85.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/0.5286, allocations: 0.6854 MB / 0.509 GB, free: 85.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.5286, allocations: 47.52 kB / 0.5091 GB, free: 85.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.5289, allocations: 410.4 kB / 0.5095 GB, free: 85.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.5291, allocations: 256.8 kB / 0.5097 GB, free: 85.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.5291, allocations: 18.12 kB / 0.5097 GB, free: 85.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.5292, allocations: 331.7 kB / 0.51 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.5299, allocations: 277.2 kB / 0.5103 GB, free: 85.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.5307, allocations: 0.5966 MB / 0.5109 GB, free: 84.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.5313, allocations: 416.2 kB / 0.5113 GB, free: 84.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5313, allocations: 1.375 kB / 0.5113 GB, free: 84.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001473/0.5328, allocations: 1.001 MB / 0.5123 GB, free: 84.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.5329, allocations: 86.98 kB / 0.5123 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5329, allocations: 0 / 0.5123 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.5332, allocations: 134.3 kB / 0.5125 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.5338, allocations: 158.2 kB / 0.5126 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.5375, allocations: 6.976 MB / 0.5194 GB, free: 77.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.5382, allocations: 119 kB / 0.5196 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.5382, allocations: 22.69 kB / 0.5196 GB, free: 77.65 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.0003283/0.5386, allocations: 243.2 kB / 0.5198 GB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5387, allocations: 103 kB / 0.5199 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.5389, allocations: 103.1 kB / 0.52 GB, free: 77.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5389, allocations: 10.31 kB / 0.52 GB, free: 77.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.5389, allocations: 0 / 0.52 GB, free: 77.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.54, allocations: 1.012 MB / 0.521 GB, free: 76.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.5423, allocations: 1.798 MB / 0.5228 GB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5423, allocations: 3.797 kB / 0.5228 GB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/0.5431, allocations: 166.1 kB / 0.5229 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.604e-05/0.5431, allocations: 29.44 kB / 0.5229 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.5432, allocations: 18.92 kB / 0.523 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007409/0.5439, allocations: 1.438 MB / 0.5244 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.544, allocations: 7.438 kB / 0.5244 GB, free: 74.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.5457, allocations: 1.139 MB / 0.5255 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.546, allocations: 258.6 kB / 0.5257 GB, free: 73.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5461, allocations: 23.39 kB / 0.5258 GB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.5466, allocations: 56.39 kB / 0.5258 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.5466, allocations: 47.56 kB / 0.5259 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.5467, allocations: 21.3 kB / 0.5259 GB, free: 73.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005168/0.5472, allocations: 0.5409 MB / 0.5264 GB, free: 73.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5472, allocations: 0 / 0.5264 GB, free: 73.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007429/0.548, allocations: 297.8 kB / 0.5267 GB, free: 73.24 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.0002081/0.5482, allocations: 138 kB / 0.5268 GB, free: 73.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.5499, allocations: 1.44 MB / 0.5282 GB, free: 72.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5499, allocations: 3.938 kB / 0.5282 GB, free: 72.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.5505, allocations: 449.1 kB / 0.5287 GB, free: 71.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.5514, allocations: 259.8 kB / 0.5289 GB, free: 71.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.5539, allocations: 2.041 MB / 0.5309 GB, free: 70.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.5542, allocations: 0.9983 MB / 0.5319 GB, free: 69.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004372/0.5546, allocations: 120.2 kB / 0.532 GB, free: 69.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.5548, allocations: 75.17 kB / 0.5321 GB, free: 69.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.22e-07/0.5548, allocations: 0 / 0.5321 GB, free: 69.96 MB / 378.7 MB Notification: Performance of Templates: time 0.02085/0.5757, allocations: 15.77 MB / 0.5475 GB, free: 58.46 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches