Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002585, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009085/0.0009085, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002319, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9029/0.9029, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07751/0.9804, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.314e-05, allocations: 6.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.002629/0.002642, allocations: 2.818 MB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.003506, allocations: 0.872 MB / 248.7 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.003598, allocations: 4 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.00373, allocations: 71.41 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.00389, allocations: 146.8 kB / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.004023, allocations: 87.75 kB / 249 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.004354, allocations: 458.2 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.004471, allocations: 66.58 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.004689, allocations: 298.5 kB / 249.8 MB, free: 8.844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.00484, allocations: 131.6 kB / 249.9 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.004881, allocations: 36 kB / 250 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.654e-05/0.004917, allocations: 36 kB / 250 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.004957, allocations: 51.81 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.005048, allocations: 115.8 kB / 250.2 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.005292, allocations: 275 kB / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.005306, allocations: 0 / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005307, allocations: 0 / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.005323, allocations: 4 kB / 250.4 MB, free: 8.207 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007087/0.006032, allocations: 0.6531 MB / 251.1 MB, free: 7.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.006061, allocations: 8.031 kB / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.00612, allocations: 44.89 kB / 251.1 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.006345, allocations: 213.8 kB / 251.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.00642, allocations: 102.2 kB / 251.4 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.006456, allocations: 24.38 kB / 251.5 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.006773, allocations: 0.6166 MB / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006783, allocations: 192 / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.006802, allocations: 16.12 kB / 252.1 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.006809, allocations: 7.984 kB / 252.1 MB, free: 6.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.00691, allocations: 71.44 kB / 252.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.007523, allocations: 474 kB / 252.6 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.007695, allocations: 142.4 kB / 252.8 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.007745, allocations: 48.84 kB / 252.8 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.007769, allocations: 8 kB / 252.8 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.00779, allocations: 38.56 kB / 252.9 MB, free: 5.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.152e-06/0.007791, allocations: 0 / 252.9 MB, free: 5.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0003576/0.008149, allocations: 231 kB / 253.1 MB, free: 5.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.008175, allocations: 55.41 kB / 253.1 MB, free: 5.219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.008304, allocations: 251 kB / 253.4 MB, free: 4.965 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.008324, allocations: 33.7 kB / 253.4 MB, free: 4.926 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.008381, allocations: 145.4 kB / 253.6 MB, free: 4.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.008431, allocations: 107 kB / 253.7 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.008494, allocations: 69.67 kB / 253.7 MB, free: 4.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.008571, allocations: 346.7 kB / 254.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.008628, allocations: 61.69 kB / 254.1 MB, free: 4.184 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.008792, allocations: 426.7 kB / 254.6 MB, free: 3.652 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.009154, allocations: 155.2 kB / 254.7 MB, free: 3.484 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.009155, allocations: 0 / 254.7 MB, free: 3.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001926/0.009348, allocations: 243.6 kB / 254.9 MB, free: 3.227 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.009375, allocations: 37.73 kB / 255 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.009382, allocations: 7.984 kB / 255 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.726e-05/0.009459, allocations: 24.84 kB / 255 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.009889, allocations: 164.4 kB / 255.2 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.0112, allocations: 2.539 MB / 257.7 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01131, allocations: 27.84 kB / 257.7 MB, free: 260 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01132, allocations: 11.98 kB / 257.8 MB, free: 248 kB / 250.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 7.715e-05/0.0114, allocations: 125.8 kB / 257.9 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.01144, allocations: 39.97 kB / 257.9 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01147, allocations: 35.08 kB / 257.9 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01148, allocations: 4 kB / 258 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01148, allocations: 3.938 kB / 258 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002454/0.01172, allocations: 0.5409 MB / 258.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.0119, allocations: 193.6 kB / 258.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0119, allocations: 4 kB / 258.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.01242, allocations: 215.7 kB / 258.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.01249, allocations: 35.73 kB / 258.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-05/0.01252, allocations: 12.86 kB / 258.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01254, allocations: 15.98 kB / 259 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.0136, allocations: 2.44 MB / 261.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0136, allocations: 0 / 261.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.01407, allocations: 320.1 kB / 261.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.0141, allocations: 8 kB / 261.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01421, allocations: 15.98 kB / 261.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.01425, allocations: 23.95 kB / 261.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01426, allocations: 4 kB / 261.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.01432, allocations: 92.62 kB / 261.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01432, allocations: 4.031 kB / 261.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.01453, allocations: 107.9 kB / 262 MB, free: 11.69 MB / 266.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 8.663e-05/0.01462, allocations: 92.34 kB / 262.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005297/0.01515, allocations: 445.5 kB / 262.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.01515, allocations: 4 kB / 262.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.01561, allocations: 336.5 kB / 262.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.01586, allocations: 132.5 kB / 263 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.02035, allocations: 0.6722 MB / 263.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.28e-05/0.02041, allocations: 101 kB / 263.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.0205, allocations: 38.95 kB / 263.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.02073, allocations: 185.2 kB / 263.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02074, allocations: 0 / 263.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of Templates: time 0.00915/0.02989, allocations: 8.186 MB / 272.1 MB, free: 1.594 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6496304236352444]