Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001046/0.001046, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.00269, 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.001033/0.001033, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.0025, 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 1.053/1.053, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.165/1.218, allocations: 49.49 MB / 220.7 MB, free: 1.352 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.967e-06/8.967e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.758e-05, allocations: 5.406 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00589/0.005927, allocations: 3.538 MB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.007791, allocations: 1.005 MB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.008109, allocations: 11.94 kB / 226.5 MB, free: 11.47 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.008385, allocations: 115 kB / 226.7 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.008766, allocations: 202.3 kB / 226.9 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.009064, allocations: 123.7 kB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000743/0.009807, allocations: 0.6689 MB / 227.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.01001, allocations: 133.4 kB / 227.8 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005592/0.01057, allocations: 448.2 kB / 228.2 MB, free: 9.793 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.01086, allocations: 199.4 kB / 228.4 MB, free: 9.598 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.297e-05/0.01093, allocations: 56 kB / 228.5 MB, free: 9.543 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.011, allocations: 52 kB / 228.5 MB, free: 9.492 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.01107, allocations: 83.69 kB / 228.6 MB, free: 9.41 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.01122, allocations: 179.6 kB / 228.8 MB, free: 9.234 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.01163, allocations: 390.5 kB / 229.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.01165, allocations: 0 / 229.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01165, allocations: 0 / 229.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.01166, allocations: 0 / 229.1 MB, free: 8.852 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001033/0.0127, allocations: 0.8553 MB / 230 MB, free: 7.965 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01273, allocations: 8.031 kB / 230 MB, free: 7.957 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.01284, allocations: 72.86 kB / 230.1 MB, free: 7.887 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.01321, allocations: 267.8 kB / 230.3 MB, free: 7.598 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.01332, allocations: 106.3 kB / 230.4 MB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.01337, allocations: 44.33 kB / 230.5 MB, free: 7.434 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.01387, allocations: 0.734 MB / 231.2 MB, free: 6.547 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01389, allocations: 4.188 kB / 231.2 MB, free: 6.543 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.01392, allocations: 24.11 kB / 231.3 MB, free: 6.52 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.01393, allocations: 8 kB / 231.3 MB, free: 6.512 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.01408, allocations: 103.2 kB / 231.4 MB, free: 6.414 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.01513, allocations: 0.6635 MB / 232 MB, free: 5.727 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.01564, allocations: 238.3 kB / 232.3 MB, free: 5.484 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.01572, allocations: 68.75 kB / 232.3 MB, free: 5.414 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.01575, allocations: 4 kB / 232.3 MB, free: 5.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.01578, allocations: 50.55 kB / 232.4 MB, free: 5.352 MB / 234.7 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.01578, allocations: 0 / 232.4 MB, free: 5.352 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004403/0.01622, allocations: 244 kB / 232.6 MB, free: 5.102 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.01625, allocations: 55.41 kB / 232.7 MB, free: 5.035 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.01647, allocations: 343.2 kB / 233 MB, free: 4.691 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.0165, allocations: 33.7 kB / 233 MB, free: 4.652 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.01659, allocations: 197.4 kB / 233.2 MB, free: 4.453 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.01665, allocations: 119 kB / 233.3 MB, free: 4.336 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.01673, allocations: 73.95 kB / 233.4 MB, free: 4.254 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01683, allocations: 358.7 kB / 233.8 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.01691, allocations: 62.34 kB / 233.8 MB, free: 3.828 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.01716, allocations: 0.5658 MB / 234.4 MB, free: 3.113 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.01731, allocations: 165.1 kB / 234.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.01732, allocations: 3.938 kB / 234.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002521/0.01757, allocations: 266.5 kB / 234.8 MB, free: 2.652 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.0176, allocations: 33.7 kB / 234.9 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01761, allocations: 0 / 234.9 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.375e-05/0.0177, allocations: 33.69 kB / 234.9 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.01795, allocations: 91.91 kB / 235 MB, free: 2.484 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.01952, allocations: 2.411 MB / 237.4 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.01972, allocations: 35.77 kB / 237.4 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.01974, allocations: 12 kB / 237.4 MB, free: 15.85 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.01987, allocations: 133.8 kB / 237.6 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.01993, allocations: 43.95 kB / 237.6 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.01999, allocations: 48.31 kB / 237.7 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.01999, allocations: 4 kB / 237.7 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01999, allocations: 4 kB / 237.7 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003119/0.02031, allocations: 0.5165 MB / 238.2 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.02098, allocations: 0.4904 MB / 238.7 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.02098, allocations: 3.938 kB / 238.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.02123, allocations: 91.86 kB / 238.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.02133, allocations: 51.64 kB / 238.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.02133, allocations: 0 / 238.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.02135, allocations: 8 kB / 238.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.02135, allocations: 7.984 kB / 238.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02135, allocations: 0 / 238.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.02164, allocations: 317.6 kB / 239.1 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.02168, allocations: 11.98 kB / 239.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.02181, allocations: 8 kB / 239.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.02184, allocations: 23.95 kB / 239.2 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.02185, allocations: 7.938 kB / 239.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.02197, allocations: 144.7 kB / 239.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02197, allocations: 4.031 kB / 239.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.02224, allocations: 139.8 kB / 239.5 MB, free: 13.65 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.02236, allocations: 92.33 kB / 239.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004654/0.02282, allocations: 469.2 kB / 240 MB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/0.02284, allocations: 11.98 kB / 240 MB, free: 13.03 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.02296, allocations: 100.7 kB / 240.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007609/0.02372, allocations: 1.244 MB / 241.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.02945, allocations: 0.7737 MB / 242.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.872e-05/0.02953, allocations: 109.9 kB / 242.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.02971, allocations: 64.14 kB / 242.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.03003, allocations: 225.2 kB / 242.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03003, allocations: 0 / 242.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of Templates: time 0.01278/0.04281, allocations: 10.21 MB / 252.7 MB, free: 36 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.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.102114638313651]