Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.2 kB / 22.76 MB, free: 5.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 51.92 kB / 369.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3227, allocations: 52.13 MB / 421.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004116/0.3268, allocations: 2.763 MB / 424 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3283, allocations: 0.8333 MB / 424.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.3285, allocations: 4 kB / 424.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.3288, allocations: 79.39 kB / 424.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.3291, allocations: 134.9 kB / 425.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3293, allocations: 95.81 kB / 425.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.3298, allocations: 434.4 kB / 425.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.33, allocations: 71.31 kB / 425.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.3302, allocations: 159.4 kB / 425.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.3304, allocations: 179.3 kB / 426 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.3305, allocations: 36 kB / 426 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.3306, allocations: 36 kB / 426.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.3306, allocations: 75.69 kB / 426.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.3308, allocations: 191.2 kB / 426.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.3313, allocations: 447.5 kB / 426.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3313, allocations: 4 kB / 426.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3313, allocations: 3.938 kB / 426.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3314, allocations: 0 / 426.8 MB, free: 9.668 MB / 334.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.001139/0.3325, allocations: 0.6871 MB / 427.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3325, allocations: 15.89 kB / 427.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.3326, allocations: 40.7 kB / 427.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.3331, allocations: 303.6 kB / 427.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.3332, allocations: 50.69 kB / 427.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.3333, allocations: 20.38 kB / 427.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.3338, allocations: 321.6 kB / 428.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3338, allocations: 3.938 kB / 428.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.3339, allocations: 12 kB / 428.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3339, allocations: 4 kB / 428.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.3343, allocations: 205.6 kB / 428.4 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.3358, allocations: 0.7988 MB / 429.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.3364, allocations: 259 kB / 429.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3366, allocations: 104.8 kB / 429.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.3367, allocations: 12.03 kB / 429.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3367, allocations: 42.56 kB / 429.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.555e-06/0.3367, allocations: 0 / 429.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001121/0.3378, allocations: 475.3 kB / 430.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.338, allocations: 320.4 kB / 430.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.3384, allocations: 279 kB / 430.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.3384, allocations: 33.7 kB / 430.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.3386, allocations: 172.7 kB / 430.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.878e-05/0.3387, allocations: 111.1 kB / 431 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3388, allocations: 69.69 kB / 431.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.339, allocations: 338.8 kB / 431.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.3392, allocations: 91.95 kB / 431.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.3396, allocations: 216.9 kB / 431.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.3401, allocations: 283.4 kB / 432 MB, free: 4.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3401, allocations: 0 / 432 MB, free: 4.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007458/0.3408, allocations: 361.8 kB / 432.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.3408, allocations: 37.8 kB / 432.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3409, allocations: 0 / 432.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.341, allocations: 36.84 kB / 432.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.3421, allocations: 167.8 kB / 432.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.3461, allocations: 3.221 MB / 435.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.3464, allocations: 35.83 kB / 435.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3464, allocations: 8 kB / 435.8 MB, free: 15.91 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.0002135/0.3467, allocations: 161.7 kB / 436 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/0.3467, allocations: 35.81 kB / 436 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.31e-05/0.3468, allocations: 39.08 kB / 436 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3468, allocations: 4 kB / 436 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3468, allocations: 0 / 436 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007896/0.3476, allocations: 0.6549 MB / 436.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.3481, allocations: 389.1 kB / 437.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3481, allocations: 0 / 437.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.3494, allocations: 207.7 kB / 437.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-05/0.3495, allocations: 24.84 kB / 437.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3495, allocations: 4 kB / 437.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.353, allocations: 3.049 MB / 440.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.353, allocations: 0 / 440.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000901/0.3539, allocations: 0.5081 MB / 440.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.3541, allocations: 140.8 kB / 441 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.3541, allocations: 8 kB / 441 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.3544, allocations: 20.05 kB / 441 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.3545, allocations: 23.97 kB / 441.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3545, allocations: 8 kB / 441.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002509/0.3547, allocations: 205.9 kB / 441.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3547, allocations: 0 / 441.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.3552, allocations: 99.94 kB / 441.4 MB, free: 9.879 MB / 350.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.0001584/0.3553, allocations: 114.4 kB / 441.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.3569, allocations: 0.5331 MB / 442 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3569, allocations: 0 / 442 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.3584, allocations: 386.4 kB / 442.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.3589, allocations: 99.06 kB / 442.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3608, allocations: 0.8864 MB / 443.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.3613, allocations: 0.7723 MB / 444.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.3613, allocations: 35.42 kB / 444.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3613, allocations: 4 kB / 444.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of Templates: time 0.01017/0.3715, allocations: 6.838 MB / 451 MB, free: 160 kB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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