Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.993e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01118/0.01121, allocations: 4.996 MB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.01577, allocations: 1.413 MB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.01657, allocations: 15.88 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.01746, allocations: 186.3 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.01913, allocations: 416.3 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.02006, allocations: 271.5 kB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.02281, allocations: 1.413 MB / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.02352, allocations: 263.7 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.02514, allocations: 0.7873 MB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.02616, allocations: 438.8 kB / 282.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.02643, allocations: 116 kB / 282.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.02674, allocations: 120 kB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.02712, allocations: 267.1 kB / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008005/0.02792, allocations: 451 kB / 283.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.03036, allocations: 1.449 MB / 284.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.03037, allocations: 0 / 284.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.03037, allocations: 0 / 284.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.03038, allocations: 0 / 284.9 MB, free: 5.199 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.003481/0.03387, allocations: 1.44 MB / 286.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.0339, allocations: 8.031 kB / 286.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.03426, allocations: 188.2 kB / 286.5 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.03536, allocations: 0.5855 MB / 287.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.03572, allocations: 309.9 kB / 287.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.03588, allocations: 84.38 kB / 287.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.03821, allocations: 1.853 MB / 289.3 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.03823, allocations: 4.125 kB / 289.3 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.03832, allocations: 40.11 kB / 289.4 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.03834, allocations: 16 kB / 289.4 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09681/0.1351, allocations: 0.605 MB / 290 MB, free: 28.88 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.1386, allocations: 1.868 MB / 291.8 MB, free: 28.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.1409, allocations: 0.7389 MB / 292.6 MB, free: 27.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.1416, allocations: 320.9 kB / 292.9 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.1416, allocations: 16.58 kB / 292.9 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1416, allocations: 51.48 kB / 293 MB, free: 27.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.1416, allocations: 3.391 kB / 293 MB, free: 27.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.00226/0.1439, allocations: 1.047 MB / 294 MB, free: 27.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.144, allocations: 0.9493 MB / 295 MB, free: 26.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.1448, allocations: 0.7152 MB / 295.7 MB, free: 25.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.1448, allocations: 49.02 kB / 295.7 MB, free: 25.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.145, allocations: 420 kB / 296.1 MB, free: 25.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1452, allocations: 259.4 kB / 296.4 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.1454, allocations: 159.3 kB / 296.5 MB, free: 25.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.1455, allocations: 334.4 kB / 296.9 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.146, allocations: 334.1 kB / 297.2 MB, free: 24.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/0.1468, allocations: 1.547 MB / 298.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.1479, allocations: 0.6601 MB / 299.4 MB, free: 22.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1479, allocations: 4.75 kB / 299.4 MB, free: 22.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001574/0.1494, allocations: 1.051 MB / 300.5 MB, free: 22.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.1495, allocations: 90.19 kB / 300.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1495, allocations: 2.562 kB / 300.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.1498, allocations: 127.5 kB / 300.7 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.1505, allocations: 155.7 kB / 300.8 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.1543, allocations: 6.691 MB / 307.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007641/0.155, allocations: 91.78 kB / 307.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.1551, allocations: 29.09 kB / 307.6 MB, free: 15.53 MB / 266.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.0003092/0.1554, allocations: 234.9 kB / 307.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.1556, allocations: 126.6 kB / 308 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.1557, allocations: 94.67 kB / 308.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1557, allocations: 9.438 kB / 308.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.1557, allocations: 0.9375 kB / 308.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/0.1569, allocations: 0.9681 MB / 309.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.1593, allocations: 1.472 MB / 310.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1593, allocations: 0.5 kB / 310.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.16, allocations: 159.7 kB / 310.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.573e-05/0.1601, allocations: 31.52 kB / 310.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.1601, allocations: 14.34 kB / 310.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005547/0.1607, allocations: 1.283 MB / 312 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1607, allocations: 0 / 312 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.1624, allocations: 1.096 MB / 313.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.1626, allocations: 179 kB / 313.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.1627, allocations: 19.75 kB / 313.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006501/0.1634, allocations: 38.78 kB / 313.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.1635, allocations: 52.38 kB / 313.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.1635, allocations: 15.59 kB / 313.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004733/0.164, allocations: 0.4954 MB / 313.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.164, allocations: 0 / 313.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006422/0.1646, allocations: 299.7 kB / 314.2 MB, free: 10.97 MB / 266.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.0001245/0.1648, allocations: 123.1 kB / 314.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.1663, allocations: 1.442 MB / 315.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1663, allocations: 0 / 315.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.1669, allocations: 402.5 kB / 316.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009935/0.1679, allocations: 287.7 kB / 316.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1699, allocations: 1.608 MB / 318 MB, free: 6.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1701, allocations: 389.2 kB / 318.4 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.1706, allocations: 118.9 kB / 318.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.1708, allocations: 80.48 kB / 318.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1708, allocations: 0 / 318.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of Templates: time 0.02873/0.1995, allocations: 18.65 MB / 337.3 MB, free: 4.168 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.164884628960863]