Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001068/0.001068, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002368, 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.0008174/0.0008174, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.00187, 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.125/1.125, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.233/1.358, 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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.498e-05/3.733e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004627/0.004665, allocations: 2.809 MB / 224.8 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.00689, allocations: 0.8886 MB / 225.7 MB, free: 12.35 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.007181, allocations: 7.938 kB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.007483, allocations: 71.41 kB / 225.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.007877, allocations: 142.9 kB / 225.9 MB, free: 12.13 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.008216, allocations: 95.73 kB / 226 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007649/0.00898, allocations: 450.2 kB / 226.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.009213, allocations: 70.58 kB / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006224/0.009835, allocations: 294.5 kB / 226.8 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.01016, allocations: 131.7 kB / 226.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.01023, allocations: 32 kB / 226.9 MB, free: 11.08 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.01029, allocations: 40 kB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.01036, allocations: 59.75 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.0105, allocations: 111.8 kB / 227.1 MB, free: 10.88 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.01097, allocations: 275 kB / 227.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.166e-05/0.01099, allocations: 0 / 227.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.01099, allocations: 0 / 227.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.01101, allocations: 0 / 227.4 MB, free: 10.61 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001095/0.0121, allocations: 0.657 MB / 228.1 MB, free: 9.918 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.01215, allocations: 8.031 kB / 228.1 MB, free: 9.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.01225, allocations: 48.89 kB / 228.1 MB, free: 9.863 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.01264, allocations: 205.8 kB / 228.3 MB, free: 9.637 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.01277, allocations: 102.2 kB / 228.4 MB, free: 9.516 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.01282, allocations: 28.38 kB / 228.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.01335, allocations: 0.605 MB / 229.1 MB, free: 8.754 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.01337, allocations: 4.188 kB / 229.1 MB, free: 8.75 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.0134, allocations: 16.12 kB / 229.1 MB, free: 8.734 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.0134, allocations: 4 kB / 229.1 MB, free: 8.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.01355, allocations: 83.36 kB / 229.2 MB, free: 8.652 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.01453, allocations: 470 kB / 229.6 MB, free: 8.176 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.01477, allocations: 134.5 kB / 229.7 MB, free: 8.035 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.01483, allocations: 56.78 kB / 229.8 MB, free: 7.977 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.01487, allocations: 8 kB / 229.8 MB, free: 7.969 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.01491, allocations: 38.56 kB / 229.8 MB, free: 7.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.514e-06/0.01491, allocations: 0 / 229.8 MB, free: 7.922 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005108/0.01542, allocations: 222.3 kB / 230.1 MB, free: 7.695 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.01546, allocations: 67.28 kB / 230.1 MB, free: 7.617 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.01565, allocations: 251 kB / 230.4 MB, free: 7.359 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.01568, allocations: 33.7 kB / 230.4 MB, free: 7.32 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.01577, allocations: 141.5 kB / 230.5 MB, free: 7.18 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.01584, allocations: 115 kB / 230.7 MB, free: 7.066 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.01592, allocations: 65.67 kB / 230.7 MB, free: 6.996 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01604, allocations: 346.7 kB / 231.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.01612, allocations: 53.69 kB / 231.1 MB, free: 6.59 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.01634, allocations: 422.7 kB / 231.5 MB, free: 6.066 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01651, allocations: 166.6 kB / 231.7 MB, free: 5.887 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01651, allocations: 0 / 231.7 MB, free: 5.887 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00028/0.01679, allocations: 246.8 kB / 231.9 MB, free: 5.625 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.01684, allocations: 33.64 kB / 232 MB, free: 5.586 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.01685, allocations: 0 / 232 MB, free: 5.586 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.01696, allocations: 28.84 kB / 232 MB, free: 5.555 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.01745, allocations: 163.9 kB / 232.2 MB, free: 5.395 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.01949, allocations: 2.546 MB / 234.7 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.01969, allocations: 39.77 kB / 234.7 MB, free: 2.637 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.01971, allocations: 12 kB / 234.7 MB, free: 2.625 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(3,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.01984, allocations: 125.8 kB / 234.9 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.01989, allocations: 31.97 kB / 234.9 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.01995, allocations: 39.08 kB / 234.9 MB, free: 2.422 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.01995, allocations: 4 kB / 234.9 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.01996, allocations: 3.938 kB / 234.9 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003798/0.02034, allocations: 0.53 MB / 235.5 MB, free: 1.777 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.02063, allocations: 197.6 kB / 235.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02063, allocations: 0 / 235.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.02122, allocations: 211.7 kB / 235.9 MB, free: 1.359 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.02132, allocations: 39.73 kB / 235.9 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.439e-05/0.02141, allocations: 16.84 kB / 235.9 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.02143, allocations: 4 kB / 235.9 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.0231, allocations: 2.44 MB / 238.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.0231, allocations: 0 / 238.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.02345, allocations: 324.7 kB / 238.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.02348, allocations: 12 kB / 238.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.0236, allocations: 15.92 kB / 238.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.02368, allocations: 23.95 kB / 238.7 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.02369, allocations: 4 kB / 238.8 MB, free: 14.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.0238, allocations: 104.6 kB / 238.9 MB, free: 14.19 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0238, allocations: 0 / 238.9 MB, free: 14.19 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.02413, allocations: 103.9 kB / 239 MB, free: 14.09 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.02429, allocations: 92.36 kB / 239 MB, free: 13.99 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.02503, allocations: 437.6 kB / 239.5 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/0.02505, allocations: 8.281 kB / 239.5 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.02564, allocations: 344 kB / 239.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.0264, allocations: 0.942 MB / 240.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.03124, allocations: 0.6616 MB / 241.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.453e-05/0.03132, allocations: 97.3 kB / 241.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.03146, allocations: 38.95 kB / 241.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.03173, allocations: 193.2 kB / 241.7 MB, free: 11 MB / 250.7 MB Notification: Performance of SimCode: time 1.463e-06/0.03174, allocations: 0 / 241.7 MB, free: 11 MB / 250.7 MB Notification: Performance of Templates: time 0.01202/0.04376, allocations: 8.521 MB / 250.3 MB, free: 2.508 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.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.1205798108130693]