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.0008129/0.0008129, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003366/0.003366, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 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.8437/0.8437, allocations: 177 MB / 204.9 MB, free: 5.715 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.553e-06/1.553e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.85e-05, allocations: 3.266 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00376/0.003779, allocations: 5 MB / 330.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.005579, allocations: 1.398 MB / 332.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.005823, allocations: 19.88 kB / 332.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.006158, allocations: 194.3 kB / 332.4 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.006645, allocations: 420.3 kB / 332.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.006987, allocations: 267.5 kB / 333.1 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000897/0.007884, allocations: 1.412 MB / 334.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.008171, allocations: 275.6 kB / 334.7 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.00872, allocations: 0.7874 MB / 335.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.009125, allocations: 430.8 kB / 335.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.009233, allocations: 120 kB / 336.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.009352, allocations: 120 kB / 336.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.009492, allocations: 263.1 kB / 336.4 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.009864, allocations: 451 kB / 336.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.0111, allocations: 1.456 MB / 338.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.0111, allocations: 0 / 338.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0111, allocations: 0 / 338.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.01111, allocations: 0 / 338.3 MB, free: 2.727 MB / 298.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.001509/0.01262, allocations: 1.428 MB / 339.8 MB, free: 1.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.01266, allocations: 15.98 kB / 339.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.0128, allocations: 132.2 kB / 339.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.01348, allocations: 0.5777 MB / 340.5 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.01366, allocations: 305.9 kB / 340.8 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.01374, allocations: 68.38 kB / 340.8 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.01522, allocations: 1.858 MB / 342.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.01524, allocations: 192 / 342.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.01529, allocations: 36.12 kB / 342.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.01531, allocations: 16 kB / 342.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.01608, allocations: 0.6129 MB / 343.4 MB, free: 13.21 MB / 314.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.002221/0.0183, allocations: 1.86 MB / 345.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.01963, allocations: 0.747 MB / 346 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.02005, allocations: 326.6 kB / 346.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.02009, allocations: 12.66 kB / 346.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.02012, allocations: 51.33 kB / 346.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.683e-06/0.02012, allocations: 3.938 kB / 346.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001425/0.02155, allocations: 1.013 MB / 347.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002627/0.02181, allocations: 0.9489 MB / 348.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/0.02263, allocations: 0.7193 MB / 349 MB, free: 7.223 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.02268, allocations: 41.7 kB / 349.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.02289, allocations: 424.8 kB / 349.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.02302, allocations: 269.7 kB / 349.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.02318, allocations: 158.7 kB / 349.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.02326, allocations: 330 kB / 350.2 MB, free: 6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.02362, allocations: 335 kB / 350.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.02438, allocations: 1.547 MB / 352.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.02509, allocations: 0.6639 MB / 352.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.0251, allocations: 0 / 352.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001011/0.02611, allocations: 1.03 MB / 353.8 MB, free: 1.961 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.02616, allocations: 89.11 kB / 353.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.02617, allocations: 0 / 353.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.0264, allocations: 120.2 kB / 354 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.02674, allocations: 155.9 kB / 354.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.0302, allocations: 6.666 MB / 360.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.03057, allocations: 103.7 kB / 360.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.0306, allocations: 23.94 kB / 361 MB, free: 10.26 MB / 330.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.000228/0.03083, allocations: 241.5 kB / 361.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.03091, allocations: 99.44 kB / 361.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.03101, allocations: 96 kB / 361.4 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.03101, allocations: 4 kB / 361.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.03102, allocations: 4 kB / 361.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008037/0.03182, allocations: 0.9661 MB / 362.4 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.03364, allocations: 1.476 MB / 363.8 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03364, allocations: 0 / 363.8 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.03399, allocations: 155.8 kB / 364 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.293e-05/0.03406, allocations: 24.84 kB / 364 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.03408, allocations: 19.92 kB / 364 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005179/0.0346, allocations: 1.28 MB / 365.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0346, allocations: 0 / 365.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.03577, allocations: 1.07 MB / 366.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.03599, allocations: 179.2 kB / 366.6 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/0.03605, allocations: 20 kB / 366.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.03635, allocations: 43.91 kB / 366.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.03641, allocations: 48.56 kB / 366.7 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.03644, allocations: 19.98 kB / 366.7 MB, free: 4.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003689/0.03681, allocations: 0.4912 MB / 367.2 MB, free: 3.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03681, allocations: 0 / 367.2 MB, free: 3.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004804/0.03729, allocations: 303.7 kB / 367.5 MB, free: 3.449 MB / 330.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.0001284/0.03741, allocations: 122.6 kB / 367.6 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.03888, allocations: 1.437 MB / 369 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.03889, allocations: 7.938 kB / 369 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.03948, allocations: 402.2 kB / 369.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.0407, allocations: 267.4 kB / 369.7 MB, free: 1.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.04321, allocations: 1.62 MB / 371.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.04355, allocations: 393.1 kB / 371.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.0438, allocations: 84.42 kB / 371.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0438, allocations: 0 / 371.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of Templates: time 0.02068/0.06447, allocations: 24.49 MB / 396.3 MB, free: 6.516 MB / 362.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=480 -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/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_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.559720695018768]