Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 157 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9792/0.9792, allocations: 173.4 MB / 200.4 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 320 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.171e-05, allocations: 6.219 kB / 320 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.01274/0.01275, allocations: 19.89 MB / 339.9 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007412/0.02016, allocations: 9.025 MB / 348.9 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.02047, allocations: 39.62 kB / 349 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.02109, allocations: 393.3 kB / 349.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.02274, allocations: 1.499 MB / 350.8 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.02716, allocations: 2.848 MB / 353.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.02877, allocations: 2.591 MB / 356.3 MB, free: 1.086 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.02929, allocations: 0.5627 MB / 356.8 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.03034, allocations: 1.282 MB / 358.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.03113, allocations: 0.9546 MB / 359.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.03124, allocations: 92 kB / 359.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.03264, allocations: 1.365 MB / 360.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.03288, allocations: 390.8 kB / 360.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.03317, allocations: 391.1 kB / 361.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.03512, allocations: 2.622 MB / 363.9 MB, free: 9.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.03512, allocations: 4 kB / 363.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03512, allocations: 0 / 363.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.03513, allocations: 0 / 363.9 MB, free: 9.41 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001729/0.03686, allocations: 1.463 MB / 365.4 MB, free: 7.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.03689, allocations: 8.922 kB / 365.4 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.03701, allocations: 114.4 kB / 365.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.03724, allocations: 119.3 kB / 365.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.03798, allocations: 0.6695 MB / 366.3 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.03801, allocations: 49.3 kB / 366.3 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.0381, allocations: 59.98 kB / 366.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.03928, allocations: 1.436 MB / 367.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.0393, allocations: 3.938 kB / 367.8 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.03935, allocations: 27.98 kB / 367.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.03942, allocations: 65.27 kB / 367.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.0405, allocations: 1.035 MB / 369 MB, free: 4.152 MB / 330.7 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.003526/0.04403, allocations: 3.501 MB / 372.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.04467, allocations: 0.5399 MB / 373 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.045, allocations: 298.3 kB / 373.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.04619, allocations: 1.067 MB / 374.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.04621, allocations: 42.89 kB / 374.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.202e-06/0.04621, allocations: 4 kB / 374.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002601/0.04881, allocations: 1.749 MB / 376.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.04887, allocations: 158.2 kB / 376.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.04965, allocations: 0.9584 MB / 377.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.04969, allocations: 37.7 kB / 377.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.04993, allocations: 492.1 kB / 377.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.05003, allocations: 166.6 kB / 377.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.0502, allocations: 190.5 kB / 378.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.05028, allocations: 334 kB / 378.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.05066, allocations: 336.7 kB / 378.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.05119, allocations: 0.7217 MB / 379.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/0.05198, allocations: 0.8982 MB / 380.4 MB, free: 8.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.05198, allocations: 4 kB / 380.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001193/0.05318, allocations: 1.119 MB / 381.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.05319, allocations: 8.219 kB / 381.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.0532, allocations: 12 kB / 381.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.0544, allocations: 385.1 kB / 381.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.05476, allocations: 171.7 kB / 382.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007213/0.05548, allocations: 1.35 MB / 383.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.05581, allocations: 39.92 kB / 383.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.05587, allocations: 47.98 kB / 383.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005368/0.05641, allocations: 0.5175 MB / 384 MB, free: 4.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005232/0.05693, allocations: 0.7232 MB / 384.8 MB, free: 3.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007542/0.05769, allocations: 0.8783 MB / 385.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.05769, allocations: 0 / 385.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001131/0.05882, allocations: 1.096 MB / 386.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.05883, allocations: 10.97 kB / 386.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.05884, allocations: 8 kB / 386.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.05986, allocations: 337.9 kB / 387.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.06021, allocations: 183.7 kB / 387.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006648/0.06087, allocations: 1.32 MB / 388.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.06121, allocations: 44.11 kB / 388.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.06125, allocations: 43.98 kB / 388.7 MB, free: 15.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (tank1.aboveLevel[2],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[1],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.0614, allocations: 247.5 kB / 388.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.06149, allocations: 95.39 kB / 389 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.06257, allocations: 0.7825 MB / 389.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.06257, allocations: 12 kB / 389.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.06258, allocations: 3.938 kB / 389.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.06258, allocations: 3.984 kB / 389.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.0641, allocations: 1.44 MB / 391.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.0641, allocations: 0 / 391.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.06432, allocations: 79.89 kB / 391.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007044/0.06503, allocations: 269.5 kB / 391.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.06506, allocations: 15.98 kB / 391.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006171/0.06567, allocations: 1.304 MB / 392.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.06568, allocations: 3.938 kB / 392.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.06672, allocations: 1.087 MB / 394 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.06683, allocations: 99.28 kB / 394.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.06691, allocations: 16.14 kB / 394.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.06717, allocations: 31.97 kB / 394.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.06725, allocations: 52.41 kB / 394.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.06728, allocations: 23.98 kB / 394.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005545/0.06784, allocations: 0.6481 MB / 394.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06784, allocations: 3.938 kB / 394.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001118/0.06895, allocations: 0.76 MB / 395.6 MB, free: 8.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002112/0.07107, allocations: 2.186 MB / 397.8 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.07254, allocations: 1.211 MB / 399 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.07254, allocations: 3.938 kB / 399 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.07291, allocations: 324.3 kB / 399.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.07388, allocations: 407.1 kB / 399.8 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.08159, allocations: 8.376 MB / 408.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.08187, allocations: 455.1 kB / 408.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007781/0.08265, allocations: 368.5 kB / 408.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.08296, allocations: 332.4 kB / 409.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.08296, allocations: 0 / 409.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09552/0.1785, allocations: 35.95 MB / 445.2 MB, free: 6.707 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/8.668, allocations: 15.91 kB / 445.2 MB, free: 6.691 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2_fmu --startTime=0 --stopTime=120 --stepSize=0.0239521 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2.fmu) > Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[1] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:ambient_fixed.T,ambient_fixed.X[1],ambient_fixed.medium.MM,ambient_fixed.medium.R_s,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,ambient_fixed.use_C_in,ambient_fixed.use_T_in,ambient_fixed.use_X_in,ambient_fixed.use_p_in,ambient_fixed1.T,ambient_fixed1.X[1],ambient_fixed1.medium.MM,ambient_fixed1.medium.R_s,ambient_fixed1.medium.T,ambient_fixed1.medium.T_degC,ambient_fixed1.medium.X[1],ambient_fixed1.medium.d,ambient_fixed1.medium.h,ambient_fixed1.medium.p,ambient_fixed1.medium.p_bar,ambient_fixed1.medium.preferredMediumStates,ambient_fixed1.medium.standardOrderComponents,ambient_fixed1.medium.state.T,ambient_fixed1.medium.state.p,ambient_fixed1.medium.u,ambient_fixed1.nPorts,ambient_fixed1.p,ambient_fixed1.ports[1].h_outflow,ambient_fixed1.ports[1].m_flow,ambient_fixed1.ports[1].p,ambient_fixed1.use_C_in,ambient_fixed1.use_T_in,ambient_fixed1.use_X_in,ambient_fixed1.use_p_in,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),pipe1.V,pipe1.allowFlowReversal,pipe1.crossArea,pipe1.diameter,pipe1.flowModel.Fs_fg[1],pipe1.flowModel.Fs_p[1],pipe1.flowModel.Ib_flows[1],pipe1.flowModel.Is[1],pipe1.flowModel.Re_turbulent,pipe1.flowModel.Res_turbulent_internal[1],pipe1.flowModel.allowFlowReversal,pipe1.flowModel.crossAreas[1],pipe1.flowModel.crossAreas[2],pipe1.flowModel.dheights[1],pipe1.flowModel.dimensions[1],pipe1.flowModel.dimensions[2],pipe1.flowModel.dp_nominal,pipe1.flowModel.dps_fg[1],pipe1.flowModel.from_dp,pipe1.flowModel.g,pipe1.flowModel.m,pipe1.flowModel.m_flow_nominal,pipe1.flowModel.m_flow_small,pipe1.flowModel.m_flow_start,pipe1.flowModel.m_flows[1],pipe1.flowModel.momentumDynamics,pipe1.flowModel.mus[1],pipe1.flowModel.mus[2],pipe1.flowModel.mus_act[1],pipe1.flowModel.n,pipe1.flowModel.nParallel,pipe1.flowModel.p_a_start,pipe1.flowModel.p_b_start,pipe1.flowModel.pathLengths[1],pipe1.flowModel.pathLengths_internal[1],pipe1.flowModel.rhos[1],pipe1.flowModel.rhos[2],pipe1.flowModel.rhos_act[1],pipe1.flowModel.roughnesses[1],pipe1.flowModel.roughnesses[2],pipe1.flowModel.show_Res,pipe1.flowModel.states[1].T,pipe1.flowModel.states[1].p,pipe1.flowModel.states[2].T,pipe1.flowModel.states[2].p,pipe1.flowModel.useUpstreamScheme,pipe1.flowModel.use_Ib_flows,pipe1.flowModel.vs[1],pipe1.flowModel.vs[2],pipe1.height_ab,pipe1.isCircular,pipe1.length,pipe1.m_flow_start,pipe1.nParallel,pipe1.p_a_start,pipe1.p_b_start,pipe1.perimeter,pipe1.port_a.h_outflow,pipe1.port_a.m_flow,pipe1.port_a.p,pipe1.port_b.h_outflow,pipe1.port_b.m_flow,pipe1.port_b.p,pipe1.roughness,pipe2.V,pipe2.allowFlowReversal,pipe2.crossArea,pipe2.diameter,pipe2.flowModel.Fs_fg[1],pipe2.flowModel.Fs_p[1],pipe2.flowModel.Ib_flows[1],pipe2.flowModel.Is[1],pipe2.flowModel.Re_turbulent,pipe2.flowModel.Res_turbulent_internal[1],pipe2.flowModel.allowFlowReversal,pipe2.flowModel.crossAreas[1],pipe2.flowModel.crossAreas[2],pipe2.flowModel.dheights[1],pipe2.flowModel.dimensions[1],pipe2.flowModel.dimensions[2],pipe2.flowModel.dp_nominal,pipe2.flowModel.dps_fg[1],pipe2.flowModel.from_dp,pipe2.flowModel.g,pipe2.flowModel.m,pipe2.flowModel.m_flow_nominal,pipe2.flowModel.m_flow_small,pipe2.flowModel.m_flow_start,pipe2.flowModel.m_flows[1],pipe2.flowModel.momentumDynamics,pipe2.flowModel.mus[1],pipe2.flowModel.mus[2],pipe2.flowModel.mus_act[1],pipe2.flowModel.n,pipe2.flowModel.nParallel,pipe2.flowModel.p_a_start,pipe2.flowModel.p_b_start,pipe2.flowModel.pathLengths[1],pipe2.flowModel.pathLengths_internal[1],pipe2.flowModel.rhos[1],pipe2.flowModel.rhos[2],pipe2.flowModel.rhos_act[1],pipe2.flowModel.roughnesses[1],pipe2.flowModel.roughnesses[2],pipe2.flowModel.show_Res,pipe2.flowModel.states[1].T,pipe2.flowModel.states[1].p,pipe2.flowModel.states[2].T,pipe2.flowModel.states[2].p,pipe2.flowModel.useUpstreamScheme,pipe2.flowModel.use_Ib_flows,pipe2.flowModel.vs[1],pipe2.flowModel.vs[2],pipe2.height_ab,pipe2.isCircular,pipe2.length,pipe2.m_flow_start,pipe2.nParallel,pipe2.p_a_start,pipe2.p_b_start,pipe2.perimeter,pipe2.port_a.h_outflow,pipe2.port_a.m_flow,pipe2.port_a.p,pipe2.port_b.h_outflow,pipe2.port_b.m_flow,pipe2.port_b.p,pipe2.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.V0,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.hysteresisFactor,tank1.level,tank1.level_start,tank1.m,tank1.m_flow_small,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.nTopPorts,tank1.p_ambient,tank1.p_start,tank1.port_b_H_flow_bottom[1],tank1.port_b_H_flow_bottom[2],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData[2].diameter,tank1.portsData[2].height,tank1.portsData[2].zeta_in,tank1.portsData[2].zeta_out,tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports[2].h_outflow,tank1.ports[2].m_flow,tank1.ports[2].p,tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,time filterSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.diff.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.diff.ref.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=120 --stepSize=0.0239521 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[1] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:ambient_fixed.T,ambient_fixed.X[1],ambient_fixed.medium.MM,ambient_fixed.medium.R_s,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,ambient_fixed.use_C_in,ambient_fixed.use_T_in,ambient_fixed.use_X_in,ambient_fixed.use_p_in,ambient_fixed1.T,ambient_fixed1.X[1],ambient_fixed1.medium.MM,ambient_fixed1.medium.R_s,ambient_fixed1.medium.T,ambient_fixed1.medium.T_degC,ambient_fixed1.medium.X[1],ambient_fixed1.medium.d,ambient_fixed1.medium.h,ambient_fixed1.medium.p,ambient_fixed1.medium.p_bar,ambient_fixed1.medium.preferredMediumStates,ambient_fixed1.medium.standardOrderComponents,ambient_fixed1.medium.state.T,ambient_fixed1.medium.state.p,ambient_fixed1.medium.u,ambient_fixed1.nPorts,ambient_fixed1.p,ambient_fixed1.ports[1].h_outflow,ambient_fixed1.ports[1].m_flow,ambient_fixed1.ports[1].p,ambient_fixed1.use_C_in,ambient_fixed1.use_T_in,ambient_fixed1.use_X_in,ambient_fixed1.use_p_in,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),pipe1.V,pipe1.allowFlowReversal,pipe1.crossArea,pipe1.diameter,pipe1.flowModel.Fs_fg[1],pipe1.flowModel.Fs_p[1],pipe1.flowModel.Ib_flows[1],pipe1.flowModel.Is[1],pipe1.flowModel.Re_turbulent,pipe1.flowModel.Res_turbulent_internal[1],pipe1.flowModel.allowFlowReversal,pipe1.flowModel.crossAreas[1],pipe1.flowModel.crossAreas[2],pipe1.flowModel.dheights[1],pipe1.flowModel.dimensions[1],pipe1.flowModel.dimensions[2],pipe1.flowModel.dp_nominal,pipe1.flowModel.dps_fg[1],pipe1.flowModel.from_dp,pipe1.flowModel.g,pipe1.flowModel.m,pipe1.flowModel.m_flow_nominal,pipe1.flowModel.m_flow_small,pipe1.flowModel.m_flow_start,pipe1.flowModel.m_flows[1],pipe1.flowModel.momentumDynamics,pipe1.flowModel.mus[1],pipe1.flowModel.mus[2],pipe1.flowModel.mus_act[1],pipe1.flowModel.n,pipe1.flowModel.nParallel,pipe1.flowModel.p_a_start,pipe1.flowModel.p_b_start,pipe1.flowModel.pathLengths[1],pipe1.flowModel.pathLengths_internal[1],pipe1.flowModel.rhos[1],pipe1.flowModel.rhos[2],pipe1.flowModel.rhos_act[1],pipe1.flowModel.roughnesses[1],pipe1.flowModel.roughnesses[2],pipe1.flowModel.show_Res,pipe1.flowModel.states[1].T,pipe1.flowModel.states[1].p,pipe1.flowModel.states[2].T,pipe1.flowModel.states[2].p,pipe1.flowModel.useUpstreamScheme,pipe1.flowModel.use_Ib_flows,pipe1.flowModel.vs[1],pipe1.flowModel.vs[2],pipe1.height_ab,pipe1.isCircular,pipe1.length,pipe1.m_flow_start,pipe1.nParallel,pipe1.p_a_start,pipe1.p_b_start,pipe1.perimeter,pipe1.port_a.h_outflow,pipe1.port_a.m_flow,pipe1.port_a.p,pipe1.port_b.h_outflow,pipe1.port_b.m_flow,pipe1.port_b.p,pipe1.roughness,pipe2.V,pipe2.allowFlowReversal,pipe2.crossArea,pipe2.diameter,pipe2.flowModel.Fs_fg[1],pipe2.flowModel.Fs_p[1],pipe2.flowModel.Ib_flows[1],pipe2.flowModel.Is[1],pipe2.flowModel.Re_turbulent,pipe2.flowModel.Res_turbulent_internal[1],pipe2.flowModel.allowFlowReversal,pipe2.flowModel.crossAreas[1],pipe2.flowModel.crossAreas[2],pipe2.flowModel.dheights[1],pipe2.flowModel.dimensions[1],pipe2.flowModel.dimensions[2],pipe2.flowModel.dp_nominal,pipe2.flowModel.dps_fg[1],pipe2.flowModel.from_dp,pipe2.flowModel.g,pipe2.flowModel.m,pipe2.flowModel.m_flow_nominal,pipe2.flowModel.m_flow_small,pipe2.flowModel.m_flow_start,pipe2.flowModel.m_flows[1],pipe2.flowModel.momentumDynamics,pipe2.flowModel.mus[1],pipe2.flowModel.mus[2],pipe2.flowModel.mus_act[1],pipe2.flowModel.n,pipe2.flowModel.nParallel,pipe2.flowModel.p_a_start,pipe2.flowModel.p_b_start,pipe2.flowModel.pathLengths[1],pipe2.flowModel.pathLengths_internal[1],pipe2.flowModel.rhos[1],pipe2.flowModel.rhos[2],pipe2.flowModel.rhos_act[1],pipe2.flowModel.roughnesses[1],pipe2.flowModel.roughnesses[2],pipe2.flowModel.show_Res,pipe2.flowModel.states[1].T,pipe2.flowModel.states[1].p,pipe2.flowModel.states[2].T,pipe2.flowModel.states[2].p,pipe2.flowModel.useUpstreamScheme,pipe2.flowModel.use_Ib_flows,pipe2.flowModel.vs[1],pipe2.flowModel.vs[2],pipe2.height_ab,pipe2.isCircular,pipe2.length,pipe2.m_flow_start,pipe2.nParallel,pipe2.p_a_start,pipe2.p_b_start,pipe2.perimeter,pipe2.port_a.h_outflow,pipe2.port_a.m_flow,pipe2.port_a.p,pipe2.port_b.h_outflow,pipe2.port_b.m_flow,pipe2.port_b.p,pipe2.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.V0,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.hysteresisFactor,tank1.level,tank1.level_start,tank1.m,tank1.m_flow_small,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.nTopPorts,tank1.p_ambient,tank1.p_start,tank1.port_b_H_flow_bottom[1],tank1.port_b_H_flow_bottom[2],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData[2].diameter,tank1.portsData[2].height,tank1.portsData[2].zeta_in,tank1.portsData[2].zeta_out,tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports[2].h_outflow,tank1.ports[2].m_flow,tank1.ports[2].p,tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,time filterSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.diff.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-cvode.diff.ref.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=120 --stepSize=0.0239521 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[1] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:ambient_fixed.T,ambient_fixed.X[1],ambient_fixed.medium.MM,ambient_fixed.medium.R_s,ambient_fixed.medium.T,ambient_fixed.medium.T_degC,ambient_fixed.medium.X[1],ambient_fixed.medium.d,ambient_fixed.medium.h,ambient_fixed.medium.p,ambient_fixed.medium.p_bar,ambient_fixed.medium.preferredMediumStates,ambient_fixed.medium.standardOrderComponents,ambient_fixed.medium.state.T,ambient_fixed.medium.state.p,ambient_fixed.medium.u,ambient_fixed.nPorts,ambient_fixed.p,ambient_fixed.ports[1].h_outflow,ambient_fixed.ports[1].m_flow,ambient_fixed.ports[1].p,ambient_fixed.use_C_in,ambient_fixed.use_T_in,ambient_fixed.use_X_in,ambient_fixed.use_p_in,ambient_fixed1.T,ambient_fixed1.X[1],ambient_fixed1.medium.MM,ambient_fixed1.medium.R_s,ambient_fixed1.medium.T,ambient_fixed1.medium.T_degC,ambient_fixed1.medium.X[1],ambient_fixed1.medium.d,ambient_fixed1.medium.h,ambient_fixed1.medium.p,ambient_fixed1.medium.p_bar,ambient_fixed1.medium.preferredMediumStates,ambient_fixed1.medium.standardOrderComponents,ambient_fixed1.medium.state.T,ambient_fixed1.medium.state.p,ambient_fixed1.medium.u,ambient_fixed1.nPorts,ambient_fixed1.p,ambient_fixed1.ports[1].h_outflow,ambient_fixed1.ports[1].m_flow,ambient_fixed1.ports[1].p,ambient_fixed1.use_C_in,ambient_fixed1.use_T_in,ambient_fixed1.use_X_in,ambient_fixed1.use_p_in,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),pipe1.V,pipe1.allowFlowReversal,pipe1.crossArea,pipe1.diameter,pipe1.flowModel.Fs_fg[1],pipe1.flowModel.Fs_p[1],pipe1.flowModel.Ib_flows[1],pipe1.flowModel.Is[1],pipe1.flowModel.Re_turbulent,pipe1.flowModel.Res_turbulent_internal[1],pipe1.flowModel.allowFlowReversal,pipe1.flowModel.crossAreas[1],pipe1.flowModel.crossAreas[2],pipe1.flowModel.dheights[1],pipe1.flowModel.dimensions[1],pipe1.flowModel.dimensions[2],pipe1.flowModel.dp_nominal,pipe1.flowModel.dps_fg[1],pipe1.flowModel.from_dp,pipe1.flowModel.g,pipe1.flowModel.m,pipe1.flowModel.m_flow_nominal,pipe1.flowModel.m_flow_small,pipe1.flowModel.m_flow_start,pipe1.flowModel.m_flows[1],pipe1.flowModel.momentumDynamics,pipe1.flowModel.mus[1],pipe1.flowModel.mus[2],pipe1.flowModel.mus_act[1],pipe1.flowModel.n,pipe1.flowModel.nParallel,pipe1.flowModel.p_a_start,pipe1.flowModel.p_b_start,pipe1.flowModel.pathLengths[1],pipe1.flowModel.pathLengths_internal[1],pipe1.flowModel.rhos[1],pipe1.flowModel.rhos[2],pipe1.flowModel.rhos_act[1],pipe1.flowModel.roughnesses[1],pipe1.flowModel.roughnesses[2],pipe1.flowModel.show_Res,pipe1.flowModel.states[1].T,pipe1.flowModel.states[1].p,pipe1.flowModel.states[2].T,pipe1.flowModel.states[2].p,pipe1.flowModel.useUpstreamScheme,pipe1.flowModel.use_Ib_flows,pipe1.flowModel.vs[1],pipe1.flowModel.vs[2],pipe1.height_ab,pipe1.isCircular,pipe1.length,pipe1.m_flow_start,pipe1.nParallel,pipe1.p_a_start,pipe1.p_b_start,pipe1.perimeter,pipe1.port_a.h_outflow,pipe1.port_a.m_flow,pipe1.port_a.p,pipe1.port_b.h_outflow,pipe1.port_b.m_flow,pipe1.port_b.p,pipe1.roughness,pipe2.V,pipe2.allowFlowReversal,pipe2.crossArea,pipe2.diameter,pipe2.flowModel.Fs_fg[1],pipe2.flowModel.Fs_p[1],pipe2.flowModel.Ib_flows[1],pipe2.flowModel.Is[1],pipe2.flowModel.Re_turbulent,pipe2.flowModel.Res_turbulent_internal[1],pipe2.flowModel.allowFlowReversal,pipe2.flowModel.crossAreas[1],pipe2.flowModel.crossAreas[2],pipe2.flowModel.dheights[1],pipe2.flowModel.dimensions[1],pipe2.flowModel.dimensions[2],pipe2.flowModel.dp_nominal,pipe2.flowModel.dps_fg[1],pipe2.flowModel.from_dp,pipe2.flowModel.g,pipe2.flowModel.m,pipe2.flowModel.m_flow_nominal,pipe2.flowModel.m_flow_small,pipe2.flowModel.m_flow_start,pipe2.flowModel.m_flows[1],pipe2.flowModel.momentumDynamics,pipe2.flowModel.mus[1],pipe2.flowModel.mus[2],pipe2.flowModel.mus_act[1],pipe2.flowModel.n,pipe2.flowModel.nParallel,pipe2.flowModel.p_a_start,pipe2.flowModel.p_b_start,pipe2.flowModel.pathLengths[1],pipe2.flowModel.pathLengths_internal[1],pipe2.flowModel.rhos[1],pipe2.flowModel.rhos[2],pipe2.flowModel.rhos_act[1],pipe2.flowModel.roughnesses[1],pipe2.flowModel.roughnesses[2],pipe2.flowModel.show_Res,pipe2.flowModel.states[1].T,pipe2.flowModel.states[1].p,pipe2.flowModel.states[2].T,pipe2.flowModel.states[2].p,pipe2.flowModel.useUpstreamScheme,pipe2.flowModel.use_Ib_flows,pipe2.flowModel.vs[1],pipe2.flowModel.vs[2],pipe2.height_ab,pipe2.isCircular,pipe2.length,pipe2.m_flow_start,pipe2.nParallel,pipe2.p_a_start,pipe2.p_b_start,pipe2.perimeter,pipe2.port_a.h_outflow,pipe2.port_a.m_flow,pipe2.port_a.p,pipe2.port_b.h_outflow,pipe2.port_b.m_flow,pipe2.port_b.p,pipe2.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.V0,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.hysteresisFactor,tank1.level,tank1.level_start,tank1.m,tank1.m_flow_small,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.nTopPorts,tank1.p_ambient,tank1.p_start,tank1.port_b_H_flow_bottom[1],tank1.port_b_H_flow_bottom[2],tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData[2].diameter,tank1.portsData[2].height,tank1.portsData[2].zeta_in,tank1.portsData[2].zeta_out,tank1.ports[1].h_outflow,tank1.ports[1].m_flow,tank1.ports[1].p,tank1.ports[2].h_outflow,tank1.ports[2].m_flow,tank1.ports[2].p,tank1.stiffCharacteristicForEmptyPort,tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_T_start,tank1.zetaLarge,time filterSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.diff.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_OMSimulator-cs-euler.diff.ref.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv --output-variables tank1.level tank1.medium.T 'tank1.aboveLevel[1]' 'tank1.aboveLevel[2]' --start-time 0 --stop-time 120 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0239521 ../Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe2.fmu) > Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[1] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv. Warning: Get data of variable tank1.aboveLevel[1] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv failed! Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv. Warning: Get data of variable tank1.aboveLevel[2] from file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,tank1.level,tank1.medium.T,tank1.aboveLevel[1],tank1.aboveLevel[2] Variables in the result:time,tank1.level,tank1.medium.T filterSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.diff.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "Error: Could not read variable tank1.aboveLevel[2] in file Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_fmpy.diff.ref.mat", vars={"tank1.aboveLevel[2]", "tank1.aboveLevel[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 12.9475480876863]