Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001714/0.001714, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002029/0.002029, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 62.55 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1085, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004636/0.1132, allocations: 2.808 MB / 360.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1151, allocations: 0.8374 MB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.1154, allocations: 11.94 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.1159, allocations: 63.59 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.1164, allocations: 119.1 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1167, allocations: 79.92 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.1174, allocations: 434.4 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.1176, allocations: 99.34 kB / 362.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1179, allocations: 159.4 kB / 362.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.1182, allocations: 183.2 kB / 362.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.49e-05/0.1183, allocations: 36 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.1184, allocations: 32 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.1185, allocations: 79.73 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1187, allocations: 195.1 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.1191, allocations: 331.5 kB / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1191, allocations: 0 / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1191, allocations: 0 / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1192, allocations: 0 / 363.1 MB, free: 8.926 MB / 302.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.001222/0.1204, allocations: 0.6858 MB / 363.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1204, allocations: 8.031 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1205, allocations: 40.56 kB / 363.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.121, allocations: 299.4 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.1211, allocations: 50.69 kB / 364.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.1212, allocations: 28.28 kB / 364.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.1218, allocations: 321.6 kB / 364.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1218, allocations: 0 / 364.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.1218, allocations: 12 kB / 364.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1219, allocations: 4 kB / 364.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.1223, allocations: 205.6 kB / 364.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1239, allocations: 0.7948 MB / 365.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/0.1245, allocations: 272.1 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.1248, allocations: 128.8 kB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.1248, allocations: 11.92 kB / 365.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.1249, allocations: 38.56 kB / 366 MB, free: 5.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.1249, allocations: 0 / 366 MB, free: 5.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001174/0.1261, allocations: 487.1 kB / 366.4 MB, free: 5.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/0.1263, allocations: 316.4 kB / 366.8 MB, free: 4.961 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.1266, allocations: 283 kB / 367 MB, free: 4.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.1267, allocations: 33.7 kB / 367.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1268, allocations: 172.6 kB / 367.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/0.1269, allocations: 98.56 kB / 367.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1271, allocations: 65.69 kB / 367.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1273, allocations: 338.8 kB / 367.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.1275, allocations: 99.7 kB / 367.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.1279, allocations: 208.2 kB / 368 MB, free: 3.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.1284, allocations: 271.4 kB / 368.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1284, allocations: 0 / 368.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007274/0.1291, allocations: 365.6 kB / 368.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.1292, allocations: 36.92 kB / 368.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1292, allocations: 3.938 kB / 368.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.1294, allocations: 36.94 kB / 368.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.1304, allocations: 167.8 kB / 368.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.165/0.2954, allocations: 3.227 MB / 372.1 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.2959, allocations: 31.42 kB / 372.1 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.2959, allocations: 14.67 kB / 372.2 MB, free: 19.01 MB / 302.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.000215/0.2962, allocations: 156.3 kB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.2962, allocations: 36.34 kB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.2963, allocations: 37.55 kB / 372.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2964, allocations: 3.531 kB / 372.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.2964, allocations: 0.625 kB / 372.4 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006283/0.297, allocations: 0.6494 MB / 373 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.2975, allocations: 391.8 kB / 373.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2975, allocations: 0 / 373.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.2988, allocations: 208.8 kB / 373.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-05/0.2989, allocations: 25.97 kB / 373.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.299, allocations: 7.891 kB / 373.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.3017, allocations: 3.042 MB / 376.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3017, allocations: 3.828 kB / 376.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.3025, allocations: 0.5101 MB / 377.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3027, allocations: 132.1 kB / 377.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.3027, allocations: 9.281 kB / 377.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.303, allocations: 20.94 kB / 377.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.3031, allocations: 21.08 kB / 377.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3031, allocations: 10.28 kB / 377.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.3034, allocations: 198.4 kB / 377.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3034, allocations: 0 / 377.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.3039, allocations: 104.9 kB / 377.7 MB, free: 15.06 MB / 302.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.0001438/0.304, allocations: 108.3 kB / 377.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.3056, allocations: 0.5504 MB / 378.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3057, allocations: 1.375 kB / 378.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.307, allocations: 404.5 kB / 378.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.3077, allocations: 88.28 kB / 378.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.3094, allocations: 0.9909 MB / 379.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3097, allocations: 0.7777 MB / 380.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3098, allocations: 33.28 kB / 380.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3098, allocations: 0 / 380.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of Templates: time 0.01115/0.321, allocations: 6.802 MB / 387.4 MB, free: 11.46 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches