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.001033/0.001033, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002659, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001038/0.001038, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002443, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9244/0.9244, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1176/1.042, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.012e-06/1.012e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.768e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005739/0.005757, allocations: 5.585 MB / 250.8 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.00853, allocations: 1.518 MB / 252.3 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003244/0.008855, allocations: 11.94 kB / 252.3 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.009148, allocations: 206.2 kB / 252.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.009658, allocations: 420.3 kB / 252.9 MB, free: 5.809 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.01013, allocations: 255.5 kB / 253.2 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.01394, allocations: 1.431 MB / 254.6 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.01437, allocations: 279.6 kB / 254.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.01539, allocations: 0.9401 MB / 255.8 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.0159, allocations: 434.8 kB / 256.2 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.01604, allocations: 116 kB / 256.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.01622, allocations: 120 kB / 256.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01637, allocations: 187.4 kB / 256.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.01672, allocations: 371.3 kB / 257 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.01754, allocations: 0.8174 MB / 257.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.01756, allocations: 0 / 257.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.01756, allocations: 3.984 kB / 257.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.01758, allocations: 0 / 257.8 MB, free: 0.8438 MB / 250.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.001786/0.01936, allocations: 1.626 MB / 259.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.0194, allocations: 16.86 kB / 259.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.01958, allocations: 144.8 kB / 259.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.02016, allocations: 437.7 kB / 260.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.02035, allocations: 301.9 kB / 260.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.02045, allocations: 84.38 kB / 260.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.0215, allocations: 1.647 MB / 262.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.02151, allocations: 4.125 kB / 262.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.02157, allocations: 40.12 kB / 262.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.02159, allocations: 16 kB / 262.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.02196, allocations: 233.8 kB / 262.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.02411, allocations: 1.273 MB / 263.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.02536, allocations: 0.491 MB / 264.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.02561, allocations: 162.7 kB / 264.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.02566, allocations: 20.64 kB / 264.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.02569, allocations: 51.22 kB / 264.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.064e-06/0.0257, allocations: 0 / 264.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009448/0.02664, allocations: 0.5253 MB / 264.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.02667, allocations: 64.06 kB / 264.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.02715, allocations: 0.5819 MB / 265.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.02719, allocations: 45.7 kB / 265.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.02737, allocations: 326.5 kB / 265.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.02753, allocations: 261.7 kB / 266.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.02772, allocations: 158.5 kB / 266.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.02781, allocations: 341.9 kB / 266.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.02798, allocations: 163.1 kB / 266.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.02862, allocations: 1.35 MB / 268.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.02904, allocations: 391.7 kB / 268.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02904, allocations: 0 / 268.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006657/0.02971, allocations: 0.611 MB / 269.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.02976, allocations: 89.11 kB / 269.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.02977, allocations: 0 / 269.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.02999, allocations: 100.1 kB / 269.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.03055, allocations: 191.9 kB / 269.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.03368, allocations: 5.993 MB / 275.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.03411, allocations: 87.48 kB / 275.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.03415, allocations: 19.98 kB / 275.6 MB, free: 13.55 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.0001897/0.03434, allocations: 169.8 kB / 275.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.03445, allocations: 87.84 kB / 275.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.03456, allocations: 96 kB / 276 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.03457, allocations: 8 kB / 276 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.03457, allocations: 3.938 kB / 276 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005075/0.03508, allocations: 0.6578 MB / 276.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.03631, allocations: 0.9062 MB / 277.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.03631, allocations: 7.938 kB / 277.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.03687, allocations: 196.4 kB / 277.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.03709, allocations: 103.3 kB / 277.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-05/0.03715, allocations: 20.84 kB / 277.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.03718, allocations: 19.98 kB / 277.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005711/0.03776, allocations: 1.179 MB / 279 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03776, allocations: 0 / 279 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.03844, allocations: 0.5665 MB / 279.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/0.03852, allocations: 16 kB / 279.6 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.03888, allocations: 35.97 kB / 279.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.03896, allocations: 48.5 kB / 279.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.03899, allocations: 16 kB / 279.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002559/0.03924, allocations: 288.5 kB / 280 MB, free: 8.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03924, allocations: 0 / 280 MB, free: 8.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005507/0.03979, allocations: 311.6 kB / 280.3 MB, free: 8.566 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.0001224/0.03991, allocations: 100.3 kB / 280.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009481/0.04086, allocations: 1.191 MB / 281.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-05/0.04089, allocations: 15.94 kB / 281.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.04124, allocations: 325.8 kB / 281.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.04281, allocations: 2.628 MB / 284.6 MB, free: 3.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.05689, allocations: 1.448 MB / 286 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.05709, allocations: 177.3 kB / 286.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.05747, allocations: 123.2 kB / 286.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/0.05828, allocations: 440.9 kB / 286.7 MB, free: 1.41 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.05829, allocations: 0 / 286.7 MB, free: 1.41 MB / 282.7 MB Notification: Performance of Templates: time 0.1161/0.1744, allocations: 22.8 MB / 309.5 MB, free: 22.87 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0352843552827835]