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.002677/0.002677, 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.003035/0.003035, allocations: 162.8 kB / 25.03 MB, free: 7.914 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.514/1.514, allocations: 158.6 MB / 186.8 MB, free: 2.848 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.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 1.824e-06/1.824e-06, allocations: 0 / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.326e-05, allocations: 6.312 kB / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.005164/0.005198, allocations: 2.753 MB / 253.1 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.007015, allocations: 0.8343 MB / 253.9 MB, free: 360 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.007165, allocations: 11.94 kB / 253.9 MB, free: 348 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.007471, allocations: 75.34 kB / 254 MB, free: 272 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.007823, allocations: 146.8 kB / 254.2 MB, free: 124 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.008072, allocations: 87.8 kB / 254.2 MB, free: 36 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009976/0.00907, allocations: 458.3 kB / 254.7 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.009296, allocations: 67.95 kB / 254.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.009668, allocations: 243.5 kB / 255 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.009962, allocations: 131.6 kB / 255.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.01003, allocations: 32 kB / 255.2 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.01012, allocations: 36 kB / 255.2 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.01024, allocations: 83.72 kB / 255.3 MB, free: 15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.01044, allocations: 135.7 kB / 255.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.01111, allocations: 462.5 kB / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01111, allocations: 0 / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01111, allocations: 4 kB / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.01112, allocations: 0 / 255.9 MB, free: 14.41 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.001453/0.01257, allocations: 0.7309 MB / 256.6 MB, free: 13.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.01262, allocations: 11.98 kB / 256.6 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.01278, allocations: 60.7 kB / 256.7 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.01325, allocations: 256.5 kB / 256.9 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.0134, allocations: 102.2 kB / 257 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.01346, allocations: 28.38 kB / 257 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.01438, allocations: 0.6972 MB / 257.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.0144, allocations: 192 / 257.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.01444, allocations: 16.12 kB / 257.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01445, allocations: 4 kB / 257.8 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.01492, allocations: 193.9 kB / 257.9 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.01659, allocations: 0.7714 MB / 258.7 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.0172, allocations: 259.5 kB / 259 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.01742, allocations: 107.7 kB / 259.1 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.01747, allocations: 8 kB / 259.1 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.01751, allocations: 45.33 kB / 259.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.363e-06/0.01751, allocations: 0 / 259.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001107/0.01862, allocations: 417.1 kB / 259.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/0.01886, allocations: 316.4 kB / 259.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.01932, allocations: 394.2 kB / 260.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.01936, allocations: 33.7 kB / 260.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.01956, allocations: 235.6 kB / 260.5 MB, free: 9.371 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.01969, allocations: 119 kB / 260.6 MB, free: 9.254 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.01983, allocations: 79.31 kB / 260.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003354/0.02017, allocations: 0.5313 MB / 261.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.02041, allocations: 113.7 kB / 261.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.02126, allocations: 0.5257 MB / 261.9 MB, free: 7.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.0219, allocations: 286 kB / 262.1 MB, free: 7.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.0219, allocations: 0 / 262.1 MB, free: 7.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008016/0.0227, allocations: 401.5 kB / 262.5 MB, free: 7.141 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.02275, allocations: 33.69 kB / 262.6 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.02276, allocations: 4 kB / 262.6 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.02295, allocations: 47.61 kB / 262.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.02386, allocations: 128 kB / 262.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/0.02932, allocations: 4.006 MB / 266.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.02971, allocations: 35.77 kB / 266.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.02974, allocations: 12 kB / 266.8 MB, free: 2.629 MB / 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 0.000275/0.03002, allocations: 196.5 kB / 267 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.03011, allocations: 43.81 kB / 267 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.03021, allocations: 43.05 kB / 267.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.03021, allocations: 4 kB / 267.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.03022, allocations: 4 kB / 267.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000871/0.03109, allocations: 0.6538 MB / 267.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.03161, allocations: 320.6 kB / 268 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.03162, allocations: 4 kB / 268 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.03283, allocations: 175.8 kB / 268.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.783e-05/0.03293, allocations: 27.67 kB / 268.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.03295, allocations: 8 kB / 268.2 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004387/0.03734, allocations: 3.819 MB / 272.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.03734, allocations: 3.938 kB / 272.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.03836, allocations: 0.5662 MB / 272.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.03858, allocations: 59.7 kB / 272.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.03863, allocations: 8 kB / 272.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.0389, allocations: 15.98 kB / 272.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.977e-05/0.039, allocations: 35.83 kB / 272.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.03902, allocations: 8 kB / 272.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00031/0.03933, allocations: 271 kB / 273 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03933, allocations: 0 / 273 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004843/0.03982, allocations: 99.89 kB / 273.1 MB, free: 11.86 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 0.0002216/0.04004, allocations: 111.2 kB / 273.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.04185, allocations: 0.596 MB / 273.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.04185, allocations: 0 / 273.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.04324, allocations: 433.2 kB / 274.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.04382, allocations: 100.5 kB / 274.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.04567, allocations: 0.7639 MB / 275.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.04586, allocations: 169.8 kB / 275.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.04601, allocations: 34.95 kB / 275.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.0461, allocations: 32.5 kB / 275.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0461, allocations: 4 kB / 275.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of Templates: time 0.01568/0.06178, allocations: 6.703 MB / 282.1 MB, free: 2.84 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.018084407085553]