Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 113.8 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 198.9 kB / 18 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009554/0.0009554, allocations: 51.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2312, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01405/0.2453, allocations: 15.83 MB / 416 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008263/0.2536, allocations: 6.904 MB / 423 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006618/0.2543, allocations: 27.88 kB / 423 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007996/0.2551, allocations: 326 kB / 423.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.2574, allocations: 1.073 MB / 424.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.261, allocations: 1.795 MB / 426.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.2634, allocations: 2.148 MB / 428.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000805/0.2642, allocations: 0.5919 MB / 428.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.2653, allocations: 0.8098 MB / 429.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009425/0.2662, allocations: 0.7941 MB / 430.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.2664, allocations: 80 kB / 430.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.2689, allocations: 1.213 MB / 431.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.2693, allocations: 327.1 kB / 432.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.2699, allocations: 453.9 kB / 432.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.2724, allocations: 1.843 MB / 434.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2724, allocations: 0 / 434.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2724, allocations: 0 / 434.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2725, allocations: 0 / 434.4 MB, free: 6.492 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00248/0.2749, allocations: 1.266 MB / 435.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.275, allocations: 11.89 kB / 435.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.2751, allocations: 102.7 kB / 435.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.2754, allocations: 99.89 kB / 435.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.2763, allocations: 0.6284 MB / 436.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.2764, allocations: 108.7 kB / 436.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.2765, allocations: 51.98 kB / 436.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2778, allocations: 0.8962 MB / 437.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.2779, allocations: 3.906 kB / 437.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.2779, allocations: 27.98 kB / 437.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/0.278, allocations: 53.2 kB / 437.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2793, allocations: 0.8444 MB / 438.5 MB, free: 2.27 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/0.2843, allocations: 3.45 MB / 441.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.2852, allocations: 0.6649 MB / 442.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.2857, allocations: 370.3 kB / 443 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002501/0.2882, allocations: 2.047 MB / 445 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2883, allocations: 39.12 kB / 445.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 1.974e-06/0.2883, allocations: 0 / 445.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.006377/0.2947, allocations: 2.832 MB / 447.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2947, allocations: 85.67 kB / 448 MB, free: 8.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.2954, allocations: 0.6798 MB / 448.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.2955, allocations: 37.7 kB / 448.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.2957, allocations: 336.4 kB / 449 MB, free: 7.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.2959, allocations: 232.7 kB / 449.2 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.2961, allocations: 146.6 kB / 449.4 MB, free: 6.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2963, allocations: 390.8 kB / 449.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.2968, allocations: 376.6 kB / 450.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.2975, allocations: 0.5152 MB / 450.6 MB, free: 5.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.2986, allocations: 0.8599 MB / 451.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2986, allocations: 0 / 451.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001848/0.3005, allocations: 1.157 MB / 452.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3005, allocations: 8 kB / 452.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3005, allocations: 8.547 kB / 452.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3017, allocations: 464.1 kB / 453.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.3024, allocations: 155.8 kB / 453.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.3034, allocations: 1.017 MB / 454.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.304, allocations: 28.03 kB / 454.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.3041, allocations: 39.98 kB / 454.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007431/0.3049, allocations: 0.5331 MB / 454.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000616/0.3055, allocations: 0.512 MB / 455.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001108/0.3066, allocations: 0.8452 MB / 456.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-06/0.3066, allocations: 0 / 456.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001736/0.3084, allocations: 1.102 MB / 457.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3084, allocations: 8 kB / 457.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3084, allocations: 4.562 kB / 457.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.3091, allocations: 320.6 kB / 457.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.3097, allocations: 167.8 kB / 457.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/0.3106, allocations: 0.9074 MB / 458.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.3112, allocations: 27.98 kB / 458.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.3112, allocations: 35.98 kB / 458.8 MB, free: 13.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.3115, allocations: 222.2 kB / 459 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.3116, allocations: 83 kB / 459.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.3135, allocations: 1.095 MB / 460.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.3135, allocations: 8 kB / 460.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3135, allocations: 0 / 460.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3135, allocations: 3.984 kB / 460.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.3163, allocations: 2.004 MB / 462.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3163, allocations: 96 / 462.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.3169, allocations: 127.8 kB / 462.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.318, allocations: 448.3 kB / 462.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.318, allocations: 15.98 kB / 462.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.3191, allocations: 1.035 MB / 463.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3191, allocations: 0 / 463.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.3213, allocations: 1.604 MB / 465.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.3217, allocations: 236.1 kB / 465.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3218, allocations: 15.98 kB / 465.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.3224, allocations: 39.91 kB / 465.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3225, allocations: 52.58 kB / 465.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.3226, allocations: 31.98 kB / 465.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005201/0.3231, allocations: 479 kB / 466.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3231, allocations: 0 / 466.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001368/0.3245, allocations: 0.5817 MB / 466.9 MB, free: 4.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003277/0.3278, allocations: 2.515 MB / 469.4 MB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.3306, allocations: 1.416 MB / 470.8 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3306, allocations: 0 / 470.8 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000915/0.3315, allocations: 467.5 kB / 471.3 MB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.3332, allocations: 385 kB / 471.6 MB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.344, allocations: 7.72 MB / 479.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.3445, allocations: 0.9989 MB / 480.3 MB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008995/0.3454, allocations: 310.5 kB / 480.7 MB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.3458, allocations: 283.3 kB / 480.9 MB, free: 6.562 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3458, allocations: 0 / 480.9 MB, free: 6.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05745/0.4032, allocations: 31.38 MB / 0.5003 GB, free: 7.473 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.65, allocations: 16.64 kB / 0.5003 GB, free: 7.461 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Tanks/EmptyTanks/EmptyTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5006]=50.000000 File[1]=0.000000 " Variables in the reference:time,tank1.level,tank2.level,tank2.ports[1].m_flow Variables in the result:der(tank1.U),der(tank1.fluidVolume),der(tank1.level),der(tank1.m),der(tank1.medium.T),der(tank1.medium.T_degC),der(tank1.medium.u),der(tank2.U),der(tank2.fluidVolume),der(tank2.level),der(tank2.m),der(tank2.medium.T),der(tank2.medium.T_degC),der(tank2.medium.u),pipe.V,pipe.allowFlowReversal,pipe.crossArea,pipe.diameter,pipe.flowModel.Fs_fg[1],pipe.flowModel.Fs_p[1],pipe.flowModel.Ib_flows[1],pipe.flowModel.Is[1],pipe.flowModel.Re_turbulent,pipe.flowModel.Res_turbulent_internal[1],pipe.flowModel.allowFlowReversal,pipe.flowModel.crossAreas[1],pipe.flowModel.crossAreas[2],pipe.flowModel.dheights[1],pipe.flowModel.dimensions[1],pipe.flowModel.dimensions[2],pipe.flowModel.dp_nominal,pipe.flowModel.dps_fg[1],pipe.flowModel.from_dp,pipe.flowModel.g,pipe.flowModel.m,pipe.flowModel.m_flow_nominal,pipe.flowModel.m_flow_small,pipe.flowModel.m_flow_start,pipe.flowModel.m_flows[1],pipe.flowModel.momentumDynamics,pipe.flowModel.mus[1],pipe.flowModel.mus[2],pipe.flowModel.mus_act[1],pipe.flowModel.n,pipe.flowModel.nParallel,pipe.flowModel.p_a_start,pipe.flowModel.p_b_start,pipe.flowModel.pathLengths[1],pipe.flowModel.pathLengths_internal[1],pipe.flowModel.rhos[1],pipe.flowModel.rhos[2],pipe.flowModel.rhos_act[1],pipe.flowModel.roughnesses[1],pipe.flowModel.roughnesses[2],pipe.flowModel.show_Res,pipe.flowModel.states[1].T,pipe.flowModel.states[1].p,pipe.flowModel.states[2].T,pipe.flowModel.states[2].p,pipe.flowModel.useUpstreamScheme,pipe.flowModel.use_Ib_flows,pipe.flowModel.vs[1],pipe.flowModel.vs[2],pipe.height_ab,pipe.isCircular,pipe.length,pipe.m_flow_start,pipe.nParallel,pipe.p_a_start,pipe.p_b_start,pipe.perimeter,pipe.port_a.h_outflow,pipe.port_a.m_flow,pipe.port_a.p,pipe.port_b.h_outflow,pipe.port_b.m_flow,pipe.port_b.p,pipe.roughness,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,tank1.Hb_flow,tank1.Qb_flow,tank1.T_ambient,tank1.T_start,tank1.U,tank1.V,tank1.Wb_flow,tank1.X_start[1],tank1.crossArea,tank1.energyDynamics,tank1.fluidVolume,tank1.h_start,tank1.heatTransfer.Q_flows[1],tank1.heatTransfer.T_ambient,tank1.heatTransfer.Ts[1],tank1.heatTransfer.heatPorts[1].Q_flow,tank1.heatTransfer.heatPorts[1].T,tank1.heatTransfer.k,tank1.heatTransfer.n,tank1.heatTransfer.states[1].T,tank1.heatTransfer.states[1].p,tank1.heatTransfer.surfaceAreas[1],tank1.heatTransfer.use_k,tank1.height,tank1.level,tank1.level_start,tank1.m,tank1.m_flow_nominal,tank1.m_flow_small,tank1.m_flow_turbulent[1],tank1.massDynamics,tank1.mb_flow,tank1.medium.MM,tank1.medium.R_s,tank1.medium.T,tank1.medium.T_degC,tank1.medium.X[1],tank1.medium.d,tank1.medium.h,tank1.medium.p,tank1.medium.p_bar,tank1.medium.preferredMediumStates,tank1.medium.standardOrderComponents,tank1.medium.state.T,tank1.medium.state.p,tank1.medium.u,tank1.nPorts,tank1.p_ambient,tank1.p_start,tank1.portAreas[1],tank1.portInDensities[1],tank1.portVelocities[1],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports_E_flow[1],tank1.ports_H_flow[1],tank1.ports_penetration[1],tank1.s[1],tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_Re,tank1.use_T_start,tank1.use_portsData,tank1.vessel_ps_static[1],tank2.Hb_flow,tank2.Qb_flow,tank2.T_ambient,tank2.T_start,tank2.U,tank2.V,tank2.Wb_flow,tank2.X_start[1],tank2.crossArea,tank2.energyDynamics,tank2.fluidVolume,tank2.h_start,tank2.heatTransfer.Q_flows[1],tank2.heatTransfer.T_ambient,tank2.heatTransfer.Ts[1],tank2.heatTransfer.heatPorts[1].Q_flow,tank2.heatTransfer.heatPorts[1].T,tank2.heatTransfer.k,tank2.heatTransfer.n,tank2.heatTransfer.states[1].T,tank2.heatTransfer.states[1].p,tank2.heatTransfer.surfaceAreas[1],tank2.heatTransfer.use_k,tank2.height,tank2.level,tank2.level_start,tank2.m,tank2.m_flow_nominal,tank2.m_flow_small,tank2.m_flow_turbulent[1],tank2.massDynamics,tank2.mb_flow,tank2.medium.MM,tank2.medium.R_s,tank2.medium.T,tank2.medium.T_degC,tank2.medium.X[1],tank2.medium.d,tank2.medium.h,tank2.medium.p,tank2.medium.p_bar,tank2.medium.preferredMediumStates,tank2.medium.standardOrderComponents,tank2.medium.state.T,tank2.medium.state.p,tank2.medium.u,tank2.nPorts,tank2.p_ambient,tank2.p_start,tank2.portAreas[1],tank2.portInDensities[1],tank2.portVelocities[1],tank2.portsData[1].diameter,tank2.portsData[1].height,tank2.portsData[1].zeta_in,tank2.portsData[1].zeta_out,tank2.ports[1].h_outflow,tank2.ports[1].m_flow,tank2.ports[1].p,tank2.ports_E_flow[1],tank2.ports_H_flow[1],tank2.ports_penetration[1],tank2.s[1],tank2.substanceDynamics,tank2.traceDynamics,tank2.use_HeatTransfer,tank2.use_Re,tank2.use_T_start,tank2.use_portsData,tank2.vessel_ps_static[1],time