Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001364/0.001364, allocations: 111.7 kB / 19.17 MB, free: 3.906 MB / 14.72 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.001417/0.001417, allocations: 209 kB / 22.13 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.492/1.492, allocations: 230.4 MB / 255.4 MB, free: 15 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 63.89 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1046, allocations: 53.31 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004263/0.1089, allocations: 2.778 MB / 430.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1105, allocations: 0.8606 MB / 431.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.1108, allocations: 7.938 kB / 431.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1111, allocations: 71.41 kB / 431.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.1114, allocations: 142.9 kB / 431.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1117, allocations: 83.83 kB / 432 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2061/0.3178, allocations: 436.8 kB / 432.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.318, allocations: 61.38 kB / 432.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.3183, allocations: 158.1 kB / 432.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.3186, allocations: 182.7 kB / 432.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.3186, allocations: 34.06 kB / 432.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.3187, allocations: 35.03 kB / 432.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.3188, allocations: 79.38 kB / 432.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.319, allocations: 190.8 kB / 433.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.3195, allocations: 444.5 kB / 433.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3195, allocations: 2.438 kB / 433.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3195, allocations: 0 / 433.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3195, allocations: 0.9062 kB / 433.6 MB, free: 8.055 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.00101/0.3205, allocations: 0.6911 MB / 434.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3205, allocations: 9.188 kB / 434.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.3206, allocations: 43.02 kB / 434.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.321, allocations: 305.4 kB / 434.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-05/0.3211, allocations: 49.12 kB / 434.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.3212, allocations: 18.84 kB / 434.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.3216, allocations: 329.6 kB / 435 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3216, allocations: 0 / 435 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.3216, allocations: 12 kB / 435 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3216, allocations: 4.531 kB / 435 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.322, allocations: 200.6 kB / 435.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3233, allocations: 0.7962 MB / 436 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.3238, allocations: 260.4 kB / 436.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.324, allocations: 101 kB / 436.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.324, allocations: 8.891 kB / 436.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.324, allocations: 42.3 kB / 436.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.324, allocations: 0 / 436.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009965/0.325, allocations: 486.4 kB / 436.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3251, allocations: 313.7 kB / 437.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3253, allocations: 281.3 kB / 437.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3254, allocations: 36.59 kB / 437.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.3255, allocations: 171.2 kB / 437.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.3255, allocations: 109.3 kB / 437.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.3256, allocations: 68.12 kB / 437.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.3257, allocations: 338.8 kB / 438.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3259, allocations: 97.42 kB / 438.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3262, allocations: 210.5 kB / 438.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.3265, allocations: 260.7 kB / 438.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3265, allocations: 3.938 kB / 438.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005772/0.3271, allocations: 371.5 kB / 439.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.3272, allocations: 33.89 kB / 439.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3272, allocations: 1.375 kB / 439.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.3273, allocations: 37.97 kB / 439.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/0.3283, allocations: 164.1 kB / 439.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.3314, allocations: 3.231 MB / 442.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.3318, allocations: 36.3 kB / 442.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3318, allocations: 8.766 kB / 442.6 MB, free: 2.188 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.0001779/0.332, allocations: 159.8 kB / 442.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.332, allocations: 39.06 kB / 442.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.3321, allocations: 37.06 kB / 442.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3321, allocations: 3.141 kB / 442.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3321, allocations: 5.25 kB / 442.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000563/0.3327, allocations: 0.6485 MB / 443.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.3331, allocations: 386 kB / 443.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3331, allocations: 0 / 443.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.3344, allocations: 215.5 kB / 444.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-05/0.3345, allocations: 23.31 kB / 444.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3345, allocations: 9.531 kB / 444.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.3376, allocations: 3.037 MB / 447.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3376, allocations: 2.219 kB / 447.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/0.3386, allocations: 0.5184 MB / 447.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.3388, allocations: 139.7 kB / 447.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.3389, allocations: 7.438 kB / 447.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.3391, allocations: 15.97 kB / 447.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.3392, allocations: 22.2 kB / 447.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.3392, allocations: 12.81 kB / 447.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.3395, allocations: 200.1 kB / 448 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3395, allocations: 0 / 448 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.3401, allocations: 99.64 kB / 448.1 MB, free: 13.6 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.000153/0.3402, allocations: 119.2 kB / 448.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.3418, allocations: 0.5265 MB / 448.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3418, allocations: 1.25 kB / 448.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.3432, allocations: 383.1 kB / 449.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.3438, allocations: 89.92 kB / 449.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.3457, allocations: 0.896 MB / 450.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.3461, allocations: 0.7778 MB / 450.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.3462, allocations: 30.53 kB / 451 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3462, allocations: 0 / 451 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01174/0.3579, allocations: 6.861 MB / 457.8 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.129927451023832]