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.00271/0.00271, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 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.003196/0.003196, allocations: 166.6 kB / 25.03 MB, free: 8.941 MB / 18.57 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 1.494/1.494, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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 2.225e-06/2.225e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.812e-05, allocations: 2.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.009605/0.009643, allocations: 5.556 MB / 255.9 MB, free: 2.246 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.01382, allocations: 1.434 MB / 257.3 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000855/0.01468, allocations: 11.94 kB / 257.4 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.01532, allocations: 194.3 kB / 257.5 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.01648, allocations: 416.4 kB / 258 MB, free: 188 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.01726, allocations: 271.4 kB / 258.2 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001977/0.01923, allocations: 1.413 MB / 259.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.01978, allocations: 271.6 kB / 259.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.021, allocations: 0.7836 MB / 260.7 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.02173, allocations: 446.7 kB / 261.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.02193, allocations: 120 kB / 261.2 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.02218, allocations: 120 kB / 261.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.02247, allocations: 263.1 kB / 261.6 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.0231, allocations: 451 kB / 262.1 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.02505, allocations: 1.452 MB / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.02506, allocations: 0 / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.02506, allocations: 0 / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.02508, allocations: 0 / 263.5 MB, free: 10.59 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.003283/0.02836, allocations: 1.61 MB / 265.1 MB, free: 8.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.02841, allocations: 15.98 kB / 265.1 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.02877, allocations: 188.2 kB / 265.3 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.02994, allocations: 0.5923 MB / 265.9 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003975/0.03034, allocations: 305.9 kB / 266.2 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.03049, allocations: 84.38 kB / 266.3 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.03322, allocations: 1.961 MB / 268.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.03325, allocations: 192 / 268.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.03333, allocations: 40.12 kB / 268.3 MB, free: 5.297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.03335, allocations: 16 kB / 268.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.0349, allocations: 0.5895 MB / 268.9 MB, free: 4.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.03962, allocations: 2.142 MB / 271 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.04237, allocations: 0.7616 MB / 271.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009497/0.04332, allocations: 321.5 kB / 272.1 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/0.0434, allocations: 12.66 kB / 272.1 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/0.04348, allocations: 51.91 kB / 272.2 MB, free: 1.336 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.096e-05/0.04349, allocations: 7.984 kB / 272.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.002812/0.0463, allocations: 1.042 MB / 273.2 MB, free: 268 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007257/0.04703, allocations: 0.9489 MB / 274.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.04838, allocations: 0.9096 MB / 275.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.864e-05/0.04847, allocations: 45.7 kB / 275.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.04901, allocations: 0.4996 MB / 275.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.04933, allocations: 273.7 kB / 275.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.04966, allocations: 172.3 kB / 276.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003397/0.05, allocations: 0.5199 MB / 276.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.05064, allocations: 330.9 kB / 276.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.05246, allocations: 1.66 MB / 278.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.05392, allocations: 0.705 MB / 279.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.05393, allocations: 0 / 279.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002093/0.05602, allocations: 1.06 MB / 280.3 MB, free: 8.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/0.05611, allocations: 89.09 kB / 280.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.05612, allocations: 0 / 280.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.05656, allocations: 154.4 kB / 280.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.0573, allocations: 147.8 kB / 280.7 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00884/0.06614, allocations: 9.31 MB / 290 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.06733, allocations: 87.52 kB / 290.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.0674, allocations: 27.94 kB / 290.1 MB, free: 13.89 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.000568/0.06797, allocations: 280.3 kB / 290.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.06821, allocations: 131.5 kB / 290.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.06842, allocations: 92.02 kB / 290.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.06844, allocations: 8 kB / 290.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.06845, allocations: 0 / 290.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/0.07006, allocations: 0.9571 MB / 291.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.07343, allocations: 1.661 MB / 293.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.07343, allocations: 3.984 kB / 293.3 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.07422, allocations: 151.8 kB / 293.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.07434, allocations: 31.67 kB / 293.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.07439, allocations: 19.94 kB / 293.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.07595, allocations: 1.799 MB / 295.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.07595, allocations: 0 / 295.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.0782, allocations: 1.128 MB / 296.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.07866, allocations: 179.1 kB / 296.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.07879, allocations: 20 kB / 296.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.07944, allocations: 35.97 kB / 296.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.07956, allocations: 52.5 kB / 296.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.07961, allocations: 16 kB / 296.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008876/0.08049, allocations: 0.581 MB / 297.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08049, allocations: 0 / 297.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00107/0.08156, allocations: 299.7 kB / 297.6 MB, free: 6.141 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.0002402/0.0818, allocations: 127.2 kB / 297.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002765/0.08457, allocations: 1.758 MB / 299.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.08458, allocations: 4 kB / 299.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.0854, allocations: 482.3 kB / 299.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.08683, allocations: 302.7 kB / 300.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.09004, allocations: 1.606 MB / 301.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.09053, allocations: 389.2 kB / 302.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000553/0.09108, allocations: 118.9 kB / 302.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.09132, allocations: 76.48 kB / 302.4 MB, free: 1.055 MB / 282.7 MB Notification: Performance of SimCode: time 2.044e-06/0.09132, allocations: 0 / 302.4 MB, free: 1.055 MB / 282.7 MB Notification: Performance of Templates: time 0.03733/0.1287, allocations: 18.73 MB / 321.1 MB, free: 14.34 MB / 314.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.7093580750515684]