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.001321/0.001321, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.001408/0.001408, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002469/0.002469, allocations: 58.95 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08988, allocations: 53.4 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006649/0.09652, allocations: 4.982 MB / 383.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.09931, allocations: 1.41 MB / 385.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.09967, allocations: 15.88 kB / 385.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.1002, allocations: 190.3 kB / 385.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000807/0.101, allocations: 392.7 kB / 385.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.1015, allocations: 271.6 kB / 386.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.103, allocations: 1.355 MB / 387.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.1034, allocations: 267.8 kB / 387.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006055/0.104, allocations: 0.5294 MB / 388.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.1048, allocations: 0.4976 MB / 388.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.1049, allocations: 116 kB / 388.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.1051, allocations: 120 kB / 389 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.1054, allocations: 263.1 kB / 389.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005797/0.106, allocations: 0.5135 MB / 389.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.1074, allocations: 1.424 MB / 391.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1074, allocations: 3.938 kB / 391.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1074, allocations: 0 / 391.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1075, allocations: 4 kB / 391.2 MB, free: 3.078 MB / 350.1 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.00267/0.1101, allocations: 1.436 MB / 392.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1102, allocations: 11.98 kB / 392.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1104, allocations: 132.2 kB / 392.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1114, allocations: 0.5823 MB / 393.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.1117, allocations: 305.9 kB / 393.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1118, allocations: 68.38 kB / 393.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.114, allocations: 1.858 MB / 395.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.114, allocations: 0 / 395.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.1141, allocations: 32 kB / 395.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1141, allocations: 16 kB / 395.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1154, allocations: 0.6168 MB / 396.3 MB, free: 13.56 MB / 366.1 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.003843/0.1193, allocations: 1.844 MB / 398.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.1219, allocations: 0.7458 MB / 398.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/0.1227, allocations: 318.9 kB / 399.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.1227, allocations: 12.66 kB / 399.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.1228, allocations: 51.16 kB / 399.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.274e-06/0.1228, allocations: 0 / 399.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.00257/0.1253, allocations: 1.028 MB / 400.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000555/0.1259, allocations: 0.9528 MB / 401.2 MB, free: 8.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009175/0.1268, allocations: 0.7077 MB / 401.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.1269, allocations: 45.7 kB / 402 MB, free: 7.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.1273, allocations: 436.6 kB / 402.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.1275, allocations: 257.7 kB / 402.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.1278, allocations: 158.7 kB / 402.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1279, allocations: 330 kB / 403.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.1286, allocations: 339 kB / 403.5 MB, free: 6.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.1301, allocations: 1.55 MB / 405 MB, free: 4.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.1314, allocations: 0.6639 MB / 405.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1314, allocations: 0 / 405.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001933/0.1333, allocations: 1.031 MB / 406.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.1334, allocations: 81.11 kB / 406.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1334, allocations: 4 kB / 406.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.1338, allocations: 124.2 kB / 406.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.1345, allocations: 155.8 kB / 407.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/0.1409, allocations: 6.678 MB / 413.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/0.1417, allocations: 95.5 kB / 413.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/0.1418, allocations: 28 kB / 413.9 MB, free: 10.61 MB / 382.1 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.0004138/0.1422, allocations: 237.8 kB / 414.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.1424, allocations: 99.44 kB / 414.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.1426, allocations: 95.95 kB / 414.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1426, allocations: 8 kB / 414.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1426, allocations: 3.938 kB / 414.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/0.1442, allocations: 0.9739 MB / 415.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.1471, allocations: 1.46 MB / 416.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1471, allocations: 0 / 416.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.1479, allocations: 163.8 kB / 416.9 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.53e-05/0.148, allocations: 28.78 kB / 416.9 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.148, allocations: 12 kB / 416.9 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.1491, allocations: 1.269 MB / 418.2 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1491, allocations: 3.984 kB / 418.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.1513, allocations: 1.082 MB / 419.3 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.1517, allocations: 179.2 kB / 419.5 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1518, allocations: 16 kB / 419.5 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/0.1525, allocations: 43.95 kB / 419.5 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.1526, allocations: 48.58 kB / 419.6 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.1526, allocations: 23.98 kB / 419.6 MB, free: 4.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006788/0.1533, allocations: 499 kB / 420.1 MB, free: 4.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1533, allocations: 4 kB / 420.1 MB, free: 4.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008353/0.1542, allocations: 303.6 kB / 420.4 MB, free: 3.797 MB / 382.1 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.0001659/0.1543, allocations: 123.1 kB / 420.5 MB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.1567, allocations: 1.437 MB / 421.9 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.1567, allocations: 7.859 kB / 422 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.1574, allocations: 398.6 kB / 422.3 MB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1586, allocations: 270.7 kB / 422.6 MB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.1618, allocations: 1.691 MB / 424.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1622, allocations: 389.2 kB / 424.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004922/0.1627, allocations: 122.9 kB / 424.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.1629, allocations: 76.48 kB / 424.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1629, allocations: 0 / 424.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of Templates: time 0.03243/0.1953, allocations: 18.79 MB / 443.7 MB, free: 12.7 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.100079530035146]