Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001083/0.001083, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002575, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009409/0.0009409, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002161, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9376/0.9376, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.043, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 3.938 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.857e-05, allocations: 5.828 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004409/0.004427, allocations: 5.589 MB / 250.3 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.006749, allocations: 1.51 MB / 251.8 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.007047, allocations: 15.94 kB / 251.8 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.00735, allocations: 206.2 kB / 252 MB, free: 6.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.007847, allocations: 420.3 kB / 252.4 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.008209, allocations: 259.5 kB / 252.7 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.009231, allocations: 1.421 MB / 254.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.009561, allocations: 283.6 kB / 254.4 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008947/0.01046, allocations: 0.944 MB / 255.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.01097, allocations: 438.8 kB / 255.8 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.01111, allocations: 116 kB / 255.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.01124, allocations: 120 kB / 256 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.01135, allocations: 187.3 kB / 256.2 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.01161, allocations: 367.4 kB / 256.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.01222, allocations: 0.8174 MB / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.01223, allocations: 0 / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01223, allocations: 0 / 257.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.01225, allocations: 3.938 kB / 257.3 MB, free: 1.488 MB / 250.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.00155/0.0138, allocations: 1.63 MB / 259 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.01382, allocations: 8.031 kB / 259 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.01398, allocations: 148.8 kB / 259.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.01445, allocations: 433.7 kB / 259.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.0146, allocations: 309.9 kB / 259.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.01469, allocations: 84.38 kB / 259.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.01577, allocations: 1.632 MB / 261.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.01578, allocations: 192 / 261.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.01583, allocations: 40.12 kB / 261.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.01584, allocations: 16 kB / 261.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.01613, allocations: 233.8 kB / 261.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.01781, allocations: 1.277 MB / 263.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.01874, allocations: 0.5074 MB / 263.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.01893, allocations: 158.7 kB / 263.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.01897, allocations: 16.66 kB / 263.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.019, allocations: 47.22 kB / 263.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.823e-06/0.019, allocations: 0 / 263.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007357/0.01973, allocations: 0.5331 MB / 264.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.01976, allocations: 60.06 kB / 264.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.02011, allocations: 0.5819 MB / 265 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.02015, allocations: 41.7 kB / 265.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.02028, allocations: 330.6 kB / 265.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.02041, allocations: 265.6 kB / 265.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.02054, allocations: 162.5 kB / 265.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.02062, allocations: 329.9 kB / 266.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.02075, allocations: 167.1 kB / 266.3 MB, free: 7.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.02125, allocations: 1.343 MB / 267.6 MB, free: 6.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.02182, allocations: 399.7 kB / 268 MB, free: 5.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02182, allocations: 0 / 268 MB, free: 5.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005162/0.02234, allocations: 0.6071 MB / 268.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.02239, allocations: 93.09 kB / 268.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.0224, allocations: 0 / 268.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.02259, allocations: 100.3 kB / 268.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.02302, allocations: 191.7 kB / 269 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.02596, allocations: 5.997 MB / 275 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.02637, allocations: 91.55 kB / 275.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.0264, allocations: 19.98 kB / 275.1 MB, free: 14.19 MB / 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.0001858/0.02659, allocations: 161.7 kB / 275.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.02668, allocations: 95.84 kB / 275.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.02677, allocations: 96 kB / 275.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.02678, allocations: 8 kB / 275.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.02679, allocations: 0 / 275.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004688/0.02726, allocations: 0.6498 MB / 276.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.0283, allocations: 0.914 MB / 277 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0283, allocations: 0 / 277 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.02873, allocations: 210.8 kB / 277.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.0289, allocations: 99.28 kB / 277.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.099e-05/0.02897, allocations: 20.84 kB / 277.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.02899, allocations: 12 kB / 277.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004858/0.02948, allocations: 1.194 MB / 278.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02948, allocations: 0 / 278.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.03003, allocations: 0.5548 MB / 279.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.03008, allocations: 20 kB / 279.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.03035, allocations: 35.97 kB / 279.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.0304, allocations: 48.5 kB / 279.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.03042, allocations: 12.03 kB / 279.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.03061, allocations: 292.5 kB / 279.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03061, allocations: 0 / 279.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000487/0.0311, allocations: 303.6 kB / 279.8 MB, free: 9.223 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.0001284/0.03122, allocations: 108.3 kB / 279.9 MB, free: 9.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.03213, allocations: 1.18 MB / 281.1 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.077e-05/0.03215, allocations: 15.94 kB / 281.1 MB, free: 7.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.03245, allocations: 333.7 kB / 281.4 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.03416, allocations: 2.618 MB / 284.1 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.0482, allocations: 1.456 MB / 285.5 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.04834, allocations: 173.5 kB / 285.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004385/0.04877, allocations: 123.2 kB / 285.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/0.04958, allocations: 448.9 kB / 286.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04958, allocations: 0 / 286.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of Templates: time 0.1218/0.1714, allocations: 22.81 MB / 309.1 MB, free: 27.69 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9949406534433365]