Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008992/0.0008992, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002081, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007126/0.0007126, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.001649, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9886/0.9886, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.171/1.16, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.346e-05, allocations: 5.406 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005261/0.005285, allocations: 5.589 MB / 227.6 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.008226, allocations: 1.515 MB / 229.1 MB, free: 8.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004243/0.008651, allocations: 11.94 kB / 229.1 MB, free: 8.902 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.009028, allocations: 214.2 kB / 229.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.009686, allocations: 424.3 kB / 229.7 MB, free: 8.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.01016, allocations: 259.5 kB / 230 MB, free: 8.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.01241, allocations: 1.42 MB / 231.4 MB, free: 6.598 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.0129, allocations: 279.6 kB / 231.7 MB, free: 6.297 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.01423, allocations: 0.9401 MB / 232.6 MB, free: 5.344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.0149, allocations: 438.8 kB / 233 MB, free: 4.914 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.01514, allocations: 116 kB / 233.2 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.01538, allocations: 120 kB / 233.3 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.01555, allocations: 187.4 kB / 233.5 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005017/0.01605, allocations: 367.4 kB / 233.8 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008873/0.01694, allocations: 0.8252 MB / 234.6 MB, free: 3.312 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/0.01696, allocations: 0 / 234.6 MB, free: 3.312 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.01696, allocations: 0 / 234.6 MB, free: 3.312 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.984e-05/0.01699, allocations: 0 / 234.6 MB, free: 3.312 MB / 234.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.002182/0.01917, allocations: 1.626 MB / 236.3 MB, free: 1.637 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.01921, allocations: 11.89 kB / 236.3 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.0194, allocations: 152.8 kB / 236.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.01998, allocations: 429.8 kB / 236.8 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.02016, allocations: 305.9 kB / 237.1 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/0.02025, allocations: 84.38 kB / 237.2 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.02121, allocations: 1.635 MB / 238.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.02123, allocations: 192 / 238.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.02127, allocations: 44.06 kB / 238.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.02128, allocations: 16 kB / 238.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.02159, allocations: 225.8 kB / 239.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.02344, allocations: 1.285 MB / 240.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.02439, allocations: 0.5027 MB / 240.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.0246, allocations: 162.7 kB / 241.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.02464, allocations: 20.64 kB / 241.1 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.02467, allocations: 51.22 kB / 241.2 MB, free: 12.28 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.02468, allocations: 0 / 241.2 MB, free: 12.28 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008179/0.02549, allocations: 0.5253 MB / 241.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.02553, allocations: 64.06 kB / 241.7 MB, free: 11.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.02594, allocations: 0.578 MB / 242.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.02598, allocations: 45.7 kB / 242.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.02616, allocations: 330.6 kB / 242.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000458/0.02661, allocations: 261.7 kB / 242.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.02676, allocations: 158.6 kB / 243.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.02686, allocations: 333.9 kB / 243.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.02702, allocations: 163.1 kB / 243.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.02757, allocations: 1.343 MB / 244.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.02789, allocations: 399.7 kB / 245.3 MB, free: 7.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0279, allocations: 0 / 245.3 MB, free: 7.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005483/0.02845, allocations: 0.611 MB / 245.9 MB, free: 6.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.0285, allocations: 85.11 kB / 246 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02851, allocations: 3.984 kB / 246 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.02871, allocations: 100.3 kB / 246.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.02916, allocations: 187.7 kB / 246.3 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.03229, allocations: 5.993 MB / 252.3 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.03274, allocations: 91.59 kB / 252.4 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.03276, allocations: 20 kB / 252.4 MB, free: 24 kB / 250.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.0002108/0.03298, allocations: 161.7 kB / 252.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/0.03307, allocations: 95.83 kB / 252.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.364e-05/0.03316, allocations: 92.02 kB / 252.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.03316, allocations: 8 kB / 252.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.03317, allocations: 0 / 252.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004568/0.03363, allocations: 0.6615 MB / 253.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.0347, allocations: 0.91 MB / 254.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.03471, allocations: 0 / 254.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.03512, allocations: 199.7 kB / 254.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.0353, allocations: 99.23 kB / 254.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.108e-05/0.03538, allocations: 28.84 kB / 254.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.03541, allocations: 11.98 kB / 254.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005133/0.03592, allocations: 1.19 MB / 255.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03592, allocations: 0 / 255.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.03646, allocations: 0.5587 MB / 256.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.03653, allocations: 23.98 kB / 256.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.03679, allocations: 27.98 kB / 256.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.03685, allocations: 52.5 kB / 256.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.03687, allocations: 12.02 kB / 256.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000506/0.03737, allocations: 292.5 kB / 256.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.03737, allocations: 3.938 kB / 256.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005003/0.03787, allocations: 303.6 kB / 257.1 MB, free: 11.04 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.0001265/0.038, allocations: 100.4 kB / 257.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008343/0.03883, allocations: 1.179 MB / 258.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/0.03885, allocations: 12 kB / 258.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.03914, allocations: 341.6 kB / 258.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.04044, allocations: 2.613 MB / 261.3 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.05066, allocations: 1.474 MB / 262.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.05078, allocations: 169.3 kB / 263 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004054/0.05118, allocations: 127.2 kB / 263.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009344/0.05212, allocations: 441 kB / 263.5 MB, free: 3.879 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05212, allocations: 0 / 263.5 MB, free: 3.879 MB / 266.7 MB Notification: Performance of Templates: time 0.1291/0.1812, allocations: 22.79 MB / 286.3 MB, free: 53.2 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5830790838226676]