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.001154/0.001154, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.001268/0.001268, allocations: 158.9 kB / 25.74 MB, free: 8.953 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 0.965/0.965, allocations: 158.6 MB / 187.5 MB, free: 2.566 MB / 170.7 MB " [Timeout remaining time 179] 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 2.114e-06/2.114e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.665e-05/3.876e-05, allocations: 2.312 kB / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.00361/0.003649, allocations: 2.78 MB / 253.9 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.004932, allocations: 0.8537 MB / 254.7 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.005072, allocations: 4 kB / 254.7 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.005335, allocations: 71.41 kB / 254.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.005567, allocations: 138.9 kB / 254.9 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.005749, allocations: 91.81 kB / 255 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.006223, allocations: 462.1 kB / 255.5 MB, free: 3.395 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.006376, allocations: 55.97 kB / 255.5 MB, free: 3.336 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.006579, allocations: 251.5 kB / 255.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.006757, allocations: 127.7 kB / 255.9 MB, free: 2.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.006803, allocations: 36 kB / 255.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-05/0.006848, allocations: 36 kB / 256 MB, free: 2.895 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.006906, allocations: 83.66 kB / 256 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.007016, allocations: 135.8 kB / 256.2 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.00731, allocations: 294.9 kB / 256.5 MB, free: 2.391 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007313, allocations: 4 kB / 256.5 MB, free: 2.387 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.007315, allocations: 0 / 256.5 MB, free: 2.387 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.007321, allocations: 4 kB / 256.5 MB, free: 2.383 MB / 234.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.0009929/0.008314, allocations: 0.7117 MB / 257.2 MB, free: 1.621 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.008355, allocations: 15.97 kB / 257.2 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.008456, allocations: 60.7 kB / 257.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.008813, allocations: 248.5 kB / 257.5 MB, free: 1.277 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.008937, allocations: 94.17 kB / 257.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.008985, allocations: 28.38 kB / 257.6 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.009433, allocations: 0.6588 MB / 258.3 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.009446, allocations: 192 / 258.3 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.009469, allocations: 12.12 kB / 258.3 MB, free: 336 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.00948, allocations: 4 kB / 258.3 MB, free: 332 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.009662, allocations: 114.9 kB / 258.4 MB, free: 220 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009378/0.0106, allocations: 0.6732 MB / 259.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.0109, allocations: 175.6 kB / 259.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.011, allocations: 71.59 kB / 259.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.01103, allocations: 4 kB / 259.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.01107, allocations: 53.31 kB / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.01107, allocations: 0 / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006277/0.0117, allocations: 301 kB / 259.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.0118, allocations: 324.3 kB / 260 MB, free: 14.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.01203, allocations: 330.3 kB / 260.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.01232, allocations: 33.7 kB / 260.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01243, allocations: 227.5 kB / 260.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.01248, allocations: 99.12 kB / 260.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.01256, allocations: 79.3 kB / 260.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.01269, allocations: 0.5118 MB / 261.3 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.01279, allocations: 77.66 kB / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.01302, allocations: 478.3 kB / 261.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.01322, allocations: 186 kB / 262 MB, free: 12.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01323, allocations: 4 kB / 262 MB, free: 12.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003692/0.0136, allocations: 333.3 kB / 262.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.01364, allocations: 29.7 kB / 262.3 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.01365, allocations: 4 kB / 262.3 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.01379, allocations: 31.67 kB / 262.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.01424, allocations: 139.9 kB / 262.5 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.01635, allocations: 3.725 MB / 266.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.01649, allocations: 35.83 kB / 266.3 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.01651, allocations: 8 kB / 266.3 MB, free: 7.723 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.0001228/0.01663, allocations: 188.5 kB / 266.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.01668, allocations: 47.81 kB / 266.5 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.01673, allocations: 39.02 kB / 266.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01673, allocations: 4 kB / 266.6 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01674, allocations: 0 / 266.6 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003716/0.01711, allocations: 0.5758 MB / 267.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.01768, allocations: 272.4 kB / 267.4 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01768, allocations: 0 / 267.4 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.01822, allocations: 179.8 kB / 267.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.9e-05/0.01827, allocations: 23.67 kB / 267.6 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01829, allocations: 8 kB / 267.6 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.02001, allocations: 3.631 MB / 271.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.02001, allocations: 4.094 kB / 271.2 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.02043, allocations: 447.5 kB / 271.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.02053, allocations: 67.7 kB / 271.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.02056, allocations: 11.94 kB / 271.7 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.02069, allocations: 15.98 kB / 271.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.02076, allocations: 27.89 kB / 271.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.02077, allocations: 8 kB / 271.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.02089, allocations: 223 kB / 272 MB, free: 1.555 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02089, allocations: 0 / 272 MB, free: 1.555 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.02118, allocations: 104 kB / 272.1 MB, free: 1.453 MB / 250.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.0001241/0.02131, allocations: 115.2 kB / 272.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007979/0.02211, allocations: 0.5063 MB / 272.7 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.02211, allocations: 4 kB / 272.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.02272, allocations: 389.2 kB / 273.1 MB, free: 384 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.02308, allocations: 100.6 kB / 273.2 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.02461, allocations: 0.7557 MB / 274 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.02468, allocations: 93.31 kB / 274.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.02478, allocations: 38.95 kB / 274.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.02483, allocations: 32.5 kB / 274.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of SimCode: time 1.153e-06/0.02484, allocations: 3.938 kB / 274.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Templates: time 0.008623/0.03346, allocations: 6.713 MB / 280.9 MB, free: 8.645 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.013010358903557]