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.001054/0.001054, allocations: 91.5 kB / 21.19 MB, free: 3.398 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.001117/0.001117, allocations: 160.5 kB / 24.56 MB, free: 40 kB / 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.9648/0.9648, allocations: 177 MB / 204.8 MB, free: 5.594 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.382e-06/1.382e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.329e-05, allocations: 5.266 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004971/0.004995, allocations: 5.629 MB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.006963, allocations: 1.437 MB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.007228, allocations: 11.94 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.007585, allocations: 194.3 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.008124, allocations: 420.3 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.008463, allocations: 263.5 kB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009459/0.009409, allocations: 1.417 MB / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.009726, allocations: 263.6 kB / 282.5 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.01029, allocations: 0.7874 MB / 283.3 MB, free: 7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.01071, allocations: 438.8 kB / 283.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.01084, allocations: 116 kB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.01098, allocations: 124 kB / 284 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.0114, allocations: 267.1 kB / 284.2 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.01172, allocations: 447.1 kB / 284.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.01243, allocations: 0.9263 MB / 285.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01243, allocations: 0 / 285.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01243, allocations: 0 / 285.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.01244, allocations: 0 / 285.6 MB, free: 4.707 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.001561/0.014, allocations: 1.54 MB / 287.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.01404, allocations: 11.98 kB / 287.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.01424, allocations: 192.2 kB / 287.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.01487, allocations: 0.5609 MB / 287.9 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.01504, allocations: 305.9 kB / 288.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.01514, allocations: 84.38 kB / 288.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.01627, allocations: 1.771 MB / 290 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.01628, allocations: 192 / 290 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.01633, allocations: 36.12 kB / 290.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.01635, allocations: 16 kB / 290.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.01687, allocations: 343.7 kB / 290.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.0194, allocations: 1.812 MB / 292.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.02066, allocations: 0.5681 MB / 292.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.02096, allocations: 201.5 kB / 293 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.02101, allocations: 20.64 kB / 293 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.02104, allocations: 50.16 kB / 293.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.723e-06/0.02104, allocations: 3.938 kB / 293.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001145/0.02219, allocations: 0.7222 MB / 293.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000276/0.02247, allocations: 0.9528 MB / 294.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.02303, allocations: 0.7103 MB / 295.5 MB, free: 9.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.02307, allocations: 45.7 kB / 295.5 MB, free: 9.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.02331, allocations: 487.5 kB / 296 MB, free: 9.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.02345, allocations: 257.8 kB / 296.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.02361, allocations: 168.3 kB / 296.4 MB, free: 9.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.02373, allocations: 0.5004 MB / 296.9 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.02398, allocations: 211 kB / 297.1 MB, free: 8.273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/0.02492, allocations: 1.496 MB / 298.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.02542, allocations: 466 kB / 299.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02542, allocations: 0 / 299.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008485/0.02627, allocations: 0.8217 MB / 299.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.02632, allocations: 91.75 kB / 300 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02632, allocations: 0 / 300 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/0.02658, allocations: 118.3 kB / 300.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.02693, allocations: 148 kB / 300.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1251/0.152, allocations: 8.901 MB / 309.1 MB, free: 30.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.1527, allocations: 88.95 kB / 309.2 MB, free: 30.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.1527, allocations: 28.11 kB / 309.2 MB, free: 30.19 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.0002257/0.1529, allocations: 217 kB / 309.5 MB, free: 30.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.1531, allocations: 126.8 kB / 309.6 MB, free: 30.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.432e-05/0.1532, allocations: 95.02 kB / 309.7 MB, free: 30.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1532, allocations: 8.375 kB / 309.7 MB, free: 30.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1532, allocations: 2.719 kB / 309.7 MB, free: 30.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006508/0.1539, allocations: 0.7704 MB / 310.4 MB, free: 29.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.1555, allocations: 1.316 MB / 311.8 MB, free: 29.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1555, allocations: 4.688 kB / 311.8 MB, free: 29.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.1559, allocations: 151.5 kB / 311.9 MB, free: 29.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.362e-05/0.156, allocations: 25.47 kB / 311.9 MB, free: 29.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.1561, allocations: 21.17 kB / 312 MB, free: 29.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005078/0.1566, allocations: 1.764 MB / 313.7 MB, free: 27.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1566, allocations: 1.094 kB / 313.7 MB, free: 27.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.1575, allocations: 0.7734 MB / 314.5 MB, free: 27.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.1578, allocations: 176.6 kB / 314.7 MB, free: 27.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.1578, allocations: 18.22 kB / 314.7 MB, free: 27.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.1582, allocations: 46.62 kB / 314.7 MB, free: 27.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1583, allocations: 43.2 kB / 314.8 MB, free: 27.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.1583, allocations: 19.89 kB / 314.8 MB, free: 27.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005048/0.1588, allocations: 467.5 kB / 315.3 MB, free: 26.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1588, allocations: 0 / 315.3 MB, free: 26.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006943/0.1595, allocations: 304.8 kB / 315.6 MB, free: 26.9 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.0001243/0.1596, allocations: 122.7 kB / 315.7 MB, free: 26.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.1607, allocations: 1.519 MB / 317.2 MB, free: 25.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1608, allocations: 5.688 kB / 317.2 MB, free: 25.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.1611, allocations: 378.1 kB / 317.6 MB, free: 25.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.1619, allocations: 282.3 kB / 317.8 MB, free: 25.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.1643, allocations: 1.545 MB / 319.4 MB, free: 24.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.1644, allocations: 175.2 kB / 319.6 MB, free: 24.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.1648, allocations: 123.1 kB / 319.7 MB, free: 24.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.165, allocations: 76.5 kB / 319.8 MB, free: 24.58 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.165, allocations: 0 / 319.8 MB, free: 24.58 MB / 282.7 MB Notification: Performance of Templates: time 0.01883/0.1838, allocations: 18.75 MB / 338.5 MB, free: 12.3 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.4639657479710877]