Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001863/0.001863, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.00214/0.00214, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 51.94 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 53.32 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003962/0.1139, allocations: 2.774 MB / 429.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1152, allocations: 0.8606 MB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1154, allocations: 7.938 kB / 430.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1156, allocations: 75.45 kB / 430.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1159, allocations: 138.9 kB / 430.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1161, allocations: 87.88 kB / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1859/0.302, allocations: 431.8 kB / 431.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.3023, allocations: 61 kB / 431.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.3027, allocations: 169.7 kB / 431.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.303, allocations: 176.4 kB / 431.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.303, allocations: 34.56 kB / 431.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.3031, allocations: 34.72 kB / 431.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.3032, allocations: 75.64 kB / 431.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.3034, allocations: 193.1 kB / 431.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.304, allocations: 445.7 kB / 432.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.304, allocations: 0.5 kB / 432.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.304, allocations: 1.906 kB / 432.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.304, allocations: 0.6562 kB / 432.3 MB, free: 8.074 MB / 350.1 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.00114/0.3051, allocations: 0.6848 MB / 433 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3052, allocations: 10.41 kB / 433 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.3053, allocations: 46.69 kB / 433.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.3056, allocations: 303.2 kB / 433.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/0.3057, allocations: 53.42 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.3057, allocations: 21.22 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.3062, allocations: 326.7 kB / 433.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3062, allocations: 0 / 433.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3062, allocations: 15.28 kB / 433.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3062, allocations: 7.094 kB / 433.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.3066, allocations: 197.5 kB / 434 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.3079, allocations: 0.7969 MB / 434.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.3084, allocations: 257.1 kB / 435 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.3086, allocations: 105 kB / 435.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.3087, allocations: 10.72 kB / 435.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3087, allocations: 40.06 kB / 435.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.3087, allocations: 1.125 kB / 435.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001078/0.3098, allocations: 490.8 kB / 435.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.3099, allocations: 314 kB / 435.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.3101, allocations: 278.3 kB / 436.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3102, allocations: 35.89 kB / 436.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.3102, allocations: 171.7 kB / 436.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.3103, allocations: 105.7 kB / 436.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3104, allocations: 71.45 kB / 436.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.3105, allocations: 338.1 kB / 436.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3107, allocations: 95.47 kB / 437 MB, free: 5.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.311, allocations: 210.3 kB / 437.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.3114, allocations: 264.1 kB / 437.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3114, allocations: 4.438 kB / 437.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006207/0.312, allocations: 367.7 kB / 437.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.312, allocations: 31.69 kB / 437.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.312, allocations: 1.344 kB / 437.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.3122, allocations: 41.16 kB / 437.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.3133, allocations: 167.5 kB / 438.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.3164, allocations: 3.23 MB / 441.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.3166, allocations: 32.12 kB / 441.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.3167, allocations: 9.078 kB / 441.3 MB, free: 2.16 MB / 350.1 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.0001324/0.3168, allocations: 158 kB / 441.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.3169, allocations: 41.86 kB / 441.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.954e-05/0.3169, allocations: 38.19 kB / 441.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3169, allocations: 2.469 kB / 441.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.317, allocations: 3.938 kB / 441.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005806/0.3175, allocations: 0.6442 MB / 442.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.3179, allocations: 391.4 kB / 442.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3179, allocations: 0 / 442.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.3193, allocations: 209.3 kB / 442.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-05/0.3194, allocations: 30.08 kB / 442.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.3194, allocations: 7.672 kB / 442.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.3227, allocations: 3.044 MB / 445.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3227, allocations: 0 / 445.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.3236, allocations: 0.5072 MB / 446.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3238, allocations: 138.4 kB / 446.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.3239, allocations: 11.73 kB / 446.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.3241, allocations: 19.62 kB / 446.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.3242, allocations: 21.95 kB / 446.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3242, allocations: 6.547 kB / 446.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.3245, allocations: 203.9 kB / 446.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3245, allocations: 0 / 446.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.325, allocations: 100.7 kB / 446.9 MB, free: 13.57 MB / 366.1 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.0001765/0.3252, allocations: 118.9 kB / 447 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3269, allocations: 0.5255 MB / 447.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3269, allocations: 1.094 kB / 447.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.3284, allocations: 396.2 kB / 447.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.3289, allocations: 88.69 kB / 448 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3308, allocations: 0.868 MB / 448.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.3313, allocations: 0.7812 MB / 449.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.3314, allocations: 35 kB / 449.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.3315, allocations: 28.28 kB / 449.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3315, allocations: 0 / 449.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Templates: time 0.01248/0.344, allocations: 6.332 MB / 456.1 MB, free: 10.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.965855341404676]