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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009624/0.0009624, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 163.5 kB / 24.82 MB, free: 9.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9969/0.9969, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,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=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.854e-05, allocations: 2.312 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006188/0.006206, allocations: 5.527 MB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.009121, allocations: 1.425 MB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.009516, allocations: 19.88 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.009955, allocations: 194.3 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007637/0.01072, allocations: 412.4 kB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.01121, allocations: 271.5 kB / 281.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.01265, allocations: 1.424 MB / 282.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.01308, allocations: 259.7 kB / 282.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.01406, allocations: 0.7913 MB / 283.6 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.01464, allocations: 430.8 kB / 284 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.01482, allocations: 116 kB / 284.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.01501, allocations: 120 kB / 284.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.0152, allocations: 271 kB / 284.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004359/0.01564, allocations: 443.1 kB / 285 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.01676, allocations: 0.9147 MB / 285.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.01676, allocations: 0 / 285.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01676, allocations: 0 / 285.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.01678, allocations: 0 / 285.9 MB, free: 4.602 MB / 266.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.002091/0.01887, allocations: 1.54 MB / 287.4 MB, free: 3.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.01891, allocations: 15.98 kB / 287.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.01917, allocations: 188.2 kB / 287.6 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.01992, allocations: 0.5434 MB / 288.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.02015, allocations: 301.9 kB / 288.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.02027, allocations: 88.36 kB / 288.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.0216, allocations: 1.724 MB / 290.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.02162, allocations: 192 / 290.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.02169, allocations: 36.12 kB / 290.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.02171, allocations: 16 kB / 290.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.02223, allocations: 277.7 kB / 290.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.02522, allocations: 1.707 MB / 292.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.02685, allocations: 0.5195 MB / 292.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.02719, allocations: 173.5 kB / 293 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/0.02724, allocations: 24.66 kB / 293 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.02728, allocations: 51.91 kB / 293.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/0.02728, allocations: 0 / 293.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.00135/0.02863, allocations: 0.6596 MB / 293.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003384/0.02897, allocations: 0.9489 MB / 294.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.02967, allocations: 0.6904 MB / 295.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.02973, allocations: 41.7 kB / 295.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.03009, allocations: 0.4915 MB / 295.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.03028, allocations: 257.7 kB / 296.1 MB, free: 9.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.03053, allocations: 168.2 kB / 296.3 MB, free: 9.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.0307, allocations: 0.5042 MB / 296.8 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.03096, allocations: 183 kB / 297 MB, free: 8.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009093/0.03187, allocations: 1.473 MB / 298.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.03233, allocations: 406 kB / 298.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.03233, allocations: 0 / 298.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007154/0.03304, allocations: 0.7553 MB / 299.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.03309, allocations: 95.75 kB / 299.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.0331, allocations: 0 / 299.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.03331, allocations: 122.2 kB / 299.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.03366, allocations: 147.8 kB / 300 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1313/0.165, allocations: 8.774 MB / 308.7 MB, free: 34.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/0.1686, allocations: 90.67 kB / 308.8 MB, free: 34.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.1687, allocations: 20.5 kB / 308.9 MB, free: 34.46 MB / 282.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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.169, allocations: 215.5 kB / 309.1 MB, free: 34.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1691, allocations: 117.9 kB / 309.2 MB, free: 34.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1692, allocations: 94.94 kB / 309.3 MB, free: 34.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1692, allocations: 7.75 kB / 309.3 MB, free: 34.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1693, allocations: 5.781 kB / 309.3 MB, free: 34.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006078/0.1699, allocations: 0.7307 MB / 310 MB, free: 33.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.1714, allocations: 1.175 MB / 311.2 MB, free: 33.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1714, allocations: 0 / 311.2 MB, free: 33.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/0.1749, allocations: 153.1 kB / 311.3 MB, free: 33.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-05/0.175, allocations: 24.34 kB / 311.4 MB, free: 33.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.175, allocations: 15.98 kB / 311.4 MB, free: 33.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004605/0.1755, allocations: 1.747 MB / 313.1 MB, free: 31.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1755, allocations: 1.062 kB / 313.1 MB, free: 31.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.1763, allocations: 0.7065 MB / 313.8 MB, free: 31.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.1766, allocations: 174.9 kB / 314 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.1767, allocations: 19.73 kB / 314 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.1771, allocations: 39.05 kB / 314.1 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.1771, allocations: 47.92 kB / 314.1 MB, free: 31.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.1772, allocations: 14.23 kB / 314.1 MB, free: 31.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003347/0.1805, allocations: 431.2 kB / 314.5 MB, free: 31.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1805, allocations: 0 / 314.5 MB, free: 31.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007271/0.1812, allocations: 308.2 kB / 314.8 MB, free: 31.22 MB / 282.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.1814, allocations: 125 kB / 315 MB, free: 31.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1824, allocations: 1.468 MB / 316.4 MB, free: 29.97 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1824, allocations: 7.188 kB / 316.4 MB, free: 29.97 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.1827, allocations: 349.7 kB / 316.8 MB, free: 29.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/0.1866, allocations: 282.4 kB / 317.1 MB, free: 29.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.1889, allocations: 1.541 MB / 318.6 MB, free: 29.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.1891, allocations: 170.8 kB / 318.8 MB, free: 28.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.003426/0.1925, allocations: 119.4 kB / 318.9 MB, free: 28.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008839/0.1934, allocations: 0.4913 MB / 319.4 MB, free: 28.84 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1934, allocations: 0 / 319.4 MB, free: 28.84 MB / 282.7 MB Notification: Performance of Templates: time 0.02293/0.2163, allocations: 20.02 MB / 339.4 MB, free: 14.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2218588409014046]