Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009748, allocations: 145.8 kB / 24.98 MB, free: 8.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.934/0.934, allocations: 173.4 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.15e-05, allocations: 6.25 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006067/0.006098, allocations: 5.568 MB / 273.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.008319, allocations: 1.413 MB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.008675, allocations: 19.88 kB / 275.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.00907, allocations: 194.3 kB / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.009635, allocations: 412.4 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.01004, allocations: 271.5 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.01115, allocations: 1.416 MB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.0115, allocations: 279.6 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.01226, allocations: 0.7835 MB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.01274, allocations: 442.7 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.01289, allocations: 120 kB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.01303, allocations: 120 kB / 279.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.01321, allocations: 267.1 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.01363, allocations: 455 kB / 279.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009725/0.01461, allocations: 0.9109 MB / 280.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.01461, allocations: 0 / 280.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01461, allocations: 0 / 280.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.01464, allocations: 0 / 280.7 MB, free: 10.04 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.001783/0.01642, allocations: 1.536 MB / 282.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.01646, allocations: 12.03 kB / 282.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.01668, allocations: 188.2 kB / 282.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.01735, allocations: 0.561 MB / 283 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.01753, allocations: 305.8 kB / 283.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.254e-05/0.01762, allocations: 88.33 kB / 283.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.01876, allocations: 1.774 MB / 285.1 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.01878, allocations: 192 / 285.1 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.01883, allocations: 36.12 kB / 285.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.01885, allocations: 16 kB / 285.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008043/0.01965, allocations: 347.7 kB / 285.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.02202, allocations: 1.816 MB / 287.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.02332, allocations: 0.5751 MB / 287.9 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.02365, allocations: 205.5 kB / 288.1 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.0237, allocations: 16.66 kB / 288.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.02374, allocations: 54.05 kB / 288.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 5.29e-06/0.02374, allocations: 3.984 kB / 288.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001207/0.02495, allocations: 0.724 MB / 288.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002643/0.02521, allocations: 0.9527 MB / 289.9 MB, free: 16 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.02582, allocations: 0.7103 MB / 290.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.02587, allocations: 45.7 kB / 290.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.02612, allocations: 491.5 kB / 291.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.02626, allocations: 257.7 kB / 291.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.02643, allocations: 168.3 kB / 291.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.02655, allocations: 0.4965 MB / 292 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.02682, allocations: 215 kB / 292.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000957/0.02777, allocations: 1.492 MB / 293.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.02829, allocations: 466 kB / 294.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.0283, allocations: 0 / 294.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000901/0.0292, allocations: 0.8217 MB / 295 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.02924, allocations: 81.11 kB / 295.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.02925, allocations: 7.938 kB / 295.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.02951, allocations: 122.4 kB / 295.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.02988, allocations: 143.9 kB / 295.3 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/0.03409, allocations: 8.911 MB / 304.2 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.03453, allocations: 91.48 kB / 304.3 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.03457, allocations: 31.92 kB / 304.4 MB, free: 280 kB / 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.0002202/0.03479, allocations: 212.4 kB / 304.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1026/0.1374, allocations: 123.5 kB / 304.7 MB, free: 39.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.1376, allocations: 91.52 kB / 304.8 MB, free: 39.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1376, allocations: 7.031 kB / 304.8 MB, free: 39.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1376, allocations: 1.125 kB / 304.8 MB, free: 39.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007244/0.1384, allocations: 0.773 MB / 305.6 MB, free: 38.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.1399, allocations: 1.322 MB / 306.9 MB, free: 38.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1399, allocations: 0.8125 kB / 306.9 MB, free: 38.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.1404, allocations: 152.6 kB / 307 MB, free: 38.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.192e-05/0.1405, allocations: 25.39 kB / 307.1 MB, free: 38.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.1405, allocations: 21.95 kB / 307.1 MB, free: 38.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004756/0.141, allocations: 1.754 MB / 308.8 MB, free: 36.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.141, allocations: 3.375 kB / 308.8 MB, free: 36.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.1419, allocations: 0.7737 MB / 309.6 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.1421, allocations: 176 kB / 309.8 MB, free: 36.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.1422, allocations: 19.77 kB / 309.8 MB, free: 36.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.1425, allocations: 35.67 kB / 309.8 MB, free: 36.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.1426, allocations: 47.44 kB / 309.9 MB, free: 36.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1426, allocations: 24.61 kB / 309.9 MB, free: 36.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003725/0.143, allocations: 465.8 kB / 310.4 MB, free: 36.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.143, allocations: 0 / 310.4 MB, free: 36.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000555/0.1435, allocations: 302.7 kB / 310.7 MB, free: 36.38 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.000119/0.1436, allocations: 120.8 kB / 310.8 MB, free: 36.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1447, allocations: 1.533 MB / 312.3 MB, free: 35.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1447, allocations: 2.797 kB / 312.3 MB, free: 35.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.145, allocations: 378.3 kB / 312.7 MB, free: 34.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006809/0.1456, allocations: 275.6 kB / 313 MB, free: 34.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1477, allocations: 1.528 MB / 314.5 MB, free: 34.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.1478, allocations: 177.1 kB / 314.7 MB, free: 34.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.1482, allocations: 122.8 kB / 314.8 MB, free: 34.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.1483, allocations: 77.31 kB / 314.9 MB, free: 34.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1483, allocations: 0 / 314.9 MB, free: 34.07 MB / 282.7 MB Notification: Performance of Templates: time 0.018/0.1663, allocations: 18.77 MB / 333.6 MB, free: 21.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2768758991733193]