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.001057/0.001057, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009093/0.0009093, allocations: 156.5 kB / 24.55 MB, free: 16 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.932/0.932, allocations: 177 MB / 204.8 MB, free: 5.078 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.433e-06/1.433e-06, allocations: 3.938 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.025e-05, allocations: 5.266 kB / 272.9 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01149/0.01151, allocations: 5.61 MB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.01724, allocations: 1.441 MB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.01762, allocations: 23.81 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.01805, allocations: 190.3 kB / 280.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.01875, allocations: 416.4 kB / 280.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.01917, allocations: 267.5 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.02342, allocations: 1.416 MB / 282.2 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.02379, allocations: 267.7 kB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007813/0.02457, allocations: 0.7874 MB / 283.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.02509, allocations: 438.7 kB / 283.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.02524, allocations: 120 kB / 283.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.02542, allocations: 120 kB / 284 MB, free: 6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.02559, allocations: 259.1 kB / 284.2 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.02599, allocations: 451 kB / 284.7 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008925/0.02688, allocations: 0.907 MB / 285.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.02689, allocations: 0 / 285.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02689, allocations: 0 / 285.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.0269, allocations: 0 / 285.6 MB, free: 4.395 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.001806/0.02871, allocations: 1.536 MB / 287.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.02874, allocations: 11.98 kB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.02894, allocations: 192.2 kB / 287.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.02954, allocations: 0.5629 MB / 287.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.02971, allocations: 301.9 kB / 288.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.02979, allocations: 84.38 kB / 288.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09748/0.1273, allocations: 1.753 MB / 290 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1273, allocations: 3.219 kB / 290 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.1274, allocations: 34.03 kB / 290 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1274, allocations: 16.69 kB / 290 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.128, allocations: 347 kB / 290.4 MB, free: 25.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.1306, allocations: 1.812 MB / 292.2 MB, free: 25.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.1319, allocations: 0.5701 MB / 292.8 MB, free: 25.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.1322, allocations: 200.7 kB / 293 MB, free: 25.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.1323, allocations: 17.88 kB / 293 MB, free: 25.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1323, allocations: 57.3 kB / 293 MB, free: 25.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.1323, allocations: 3.938 kB / 293 MB, free: 25.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001156/0.1335, allocations: 0.7266 MB / 293.8 MB, free: 25.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1336, allocations: 0.9499 MB / 294.7 MB, free: 24.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.1341, allocations: 0.7101 MB / 295.4 MB, free: 23.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.1342, allocations: 44.64 kB / 295.5 MB, free: 23.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.1344, allocations: 489.6 kB / 295.9 MB, free: 23.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1345, allocations: 259 kB / 296.2 MB, free: 23.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.1347, allocations: 166.4 kB / 296.4 MB, free: 23.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.1347, allocations: 0.5034 MB / 296.9 MB, free: 22.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.1349, allocations: 212.7 kB / 297.1 MB, free: 22.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.1354, allocations: 1.491 MB / 298.6 MB, free: 20.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.1359, allocations: 470 kB / 299 MB, free: 20.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1359, allocations: 0.5156 kB / 299 MB, free: 20.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008333/0.1367, allocations: 0.8175 MB / 299.8 MB, free: 20.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.1367, allocations: 89.3 kB / 299.9 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1368, allocations: 1.156 kB / 299.9 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.137, allocations: 119.8 kB / 300 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.1374, allocations: 148.3 kB / 300.2 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.1397, allocations: 8.904 MB / 309.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.1401, allocations: 88.38 kB / 309.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.1401, allocations: 28.16 kB / 309.2 MB, free: 11.19 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.0001633/0.1403, allocations: 222 kB / 309.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1404, allocations: 119.1 kB / 309.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.1405, allocations: 99.98 kB / 309.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1405, allocations: 7.281 kB / 309.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1405, allocations: 1.125 kB / 309.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005512/0.1411, allocations: 0.7795 MB / 310.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1425, allocations: 1.319 MB / 311.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1425, allocations: 0 / 311.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.1429, allocations: 152.5 kB / 311.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.724e-05/0.143, allocations: 32.42 kB / 311.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.143, allocations: 13.72 kB / 311.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003732/0.1434, allocations: 1.754 MB / 313.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1434, allocations: 0 / 313.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.1442, allocations: 0.7779 MB / 314.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.1444, allocations: 177.1 kB / 314.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.1444, allocations: 20.03 kB / 314.7 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1447, allocations: 33.73 kB / 314.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.1448, allocations: 50.11 kB / 314.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.1448, allocations: 24.33 kB / 314.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003457/0.1452, allocations: 469 kB / 315.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1452, allocations: 0 / 315.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.1456, allocations: 309.4 kB / 315.5 MB, free: 6.914 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.0001039/0.1457, allocations: 125.8 kB / 315.6 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.1466, allocations: 1.532 MB / 317.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1466, allocations: 2.844 kB / 317.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.1469, allocations: 373.4 kB / 317.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.1475, allocations: 283.5 kB / 317.8 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1492, allocations: 1.527 MB / 319.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.659e-05/0.1492, allocations: 172.6 kB / 319.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000241/0.1495, allocations: 122.9 kB / 319.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1496, allocations: 76.42 kB / 319.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1496, allocations: 0 / 319.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of Templates: time 0.01969/0.1693, allocations: 19.72 MB / 339.4 MB, free: 0.6406 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.2302647880278528]