Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2156/0.2156, allocations: 44.93 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3186, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02217/0.3408, allocations: 18.67 MB / 0.5752 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006433/0.3472, allocations: 3.987 MB / 0.5791 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.3479, allocations: 35.69 kB / 0.5791 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009398/0.3488, allocations: 310 kB / 0.5794 GB, free: 452 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.3509, allocations: 0.8823 MB / 0.5803 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.3533, allocations: 0.9148 MB / 0.5812 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.3555, allocations: 1.813 MB / 0.583 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006295/0.3562, allocations: 393.5 kB / 0.5833 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.358, allocations: 0.9651 MB / 0.5843 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009997/0.359, allocations: 0.6577 MB / 0.5849 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.3591, allocations: 60 kB / 0.585 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.3599, allocations: 287.6 kB / 0.5853 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.3602, allocations: 271.1 kB / 0.5855 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.3605, allocations: 326.6 kB / 0.5858 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3619, allocations: 1.086 MB / 0.5869 GB, free: 8.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3619, allocations: 0 / 0.5869 GB, free: 8.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3619, allocations: 0 / 0.5869 GB, free: 8.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.3619, allocations: 0 / 0.5869 GB, free: 8.793 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002167/0.364, allocations: 0.9873 MB / 0.5879 GB, free: 7.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3641, allocations: 16.03 kB / 0.5879 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.3642, allocations: 98.7 kB / 0.588 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.3646, allocations: 100.4 kB / 0.5881 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.3655, allocations: 470.8 kB / 0.5885 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.3657, allocations: 152.4 kB / 0.5887 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3658, allocations: 60.05 kB / 0.5887 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.3673, allocations: 1.072 MB / 0.5898 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.3673, allocations: 4 kB / 0.5898 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.3674, allocations: 24 kB / 0.5898 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.3674, allocations: 40.98 kB / 0.5898 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3685, allocations: 0.6399 MB / 0.5904 GB, free: 4.922 MB / 430.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.0048/0.3733, allocations: 3.406 MB / 0.5938 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.3742, allocations: 402.5 kB / 0.5942 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.3745, allocations: 193.4 kB / 0.5943 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.3748, allocations: 52.23 kB / 0.5944 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3748, allocations: 42.88 kB / 0.5944 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.567e-06/0.3748, allocations: 4 kB / 0.5944 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003206/0.378, allocations: 1.44 MB / 0.5958 GB, free: 15.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.3781, allocations: 148.5 kB / 0.596 GB, free: 15.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.3788, allocations: 0.5886 MB / 0.5966 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.3789, allocations: 37.69 kB / 0.5966 GB, free: 14.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.3792, allocations: 355.9 kB / 0.5969 GB, free: 14.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.3793, allocations: 170.5 kB / 0.5971 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.3795, allocations: 138.6 kB / 0.5972 GB, free: 13.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3797, allocations: 378.7 kB / 0.5976 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.3801, allocations: 221.9 kB / 0.5978 GB, free: 13.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.3808, allocations: 0.5993 MB / 0.5984 GB, free: 12.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.3819, allocations: 0.7757 MB / 0.5991 GB, free: 11.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3819, allocations: 7.938 kB / 0.5992 GB, free: 11.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001843/0.3838, allocations: 0.9376 MB / 0.6001 GB, free: 10.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3838, allocations: 8 kB / 0.6001 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.3838, allocations: 15.98 kB / 0.6001 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3849, allocations: 261 kB / 0.6003 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.3853, allocations: 123.8 kB / 0.6005 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.3864, allocations: 0.8684 MB / 0.6013 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.3869, allocations: 28 kB / 0.6013 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.387, allocations: 39.98 kB / 0.6014 GB, free: 9.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003605/0.3873, allocations: 245.1 kB / 0.6016 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3875, allocations: 67.62 kB / 0.6017 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.3888, allocations: 0.7227 MB / 0.6024 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3889, allocations: 8 kB / 0.6024 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3889, allocations: 0 / 0.6024 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3889, allocations: 0 / 0.6024 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.3911, allocations: 1.305 MB / 0.6037 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3911, allocations: 0 / 0.6037 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009663/0.3921, allocations: 199.8 kB / 0.6038 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/0.3923, allocations: 52.73 kB / 0.6039 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.3923, allocations: 24.14 kB / 0.6039 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.395, allocations: 2.768 MB / 0.6066 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.395, allocations: 7.969 kB / 0.6066 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3966, allocations: 1.005 MB / 0.6076 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.3969, allocations: 123.5 kB / 0.6077 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.397, allocations: 12 kB / 0.6077 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.3974, allocations: 15.98 kB / 0.6078 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.3975, allocations: 39.88 kB / 0.6078 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.3975, allocations: 23.98 kB / 0.6078 GB, free: 2.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005316/0.398, allocations: 419.2 kB / 0.6082 GB, free: 1.793 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.398, allocations: 4 kB / 0.6082 GB, free: 1.789 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007525/0.3988, allocations: 203.9 kB / 0.6084 GB, free: 1.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002217/0.401, allocations: 1.666 MB / 0.61 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.4022, allocations: 0.5814 MB / 0.6106 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4022, allocations: 4 kB / 0.6106 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4034, allocations: 479.5 kB / 0.6111 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.405, allocations: 381.1 kB / 0.6114 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.4151, allocations: 6.539 MB / 0.6178 GB, free: 7.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4155, allocations: 341.3 kB / 0.6181 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000711/0.4162, allocations: 211 kB / 0.6183 GB, free: 6.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.4166, allocations: 231.4 kB / 0.6186 GB, free: 6.734 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4166, allocations: 0 / 0.6186 GB, free: 6.734 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/0.5, allocations: 23.58 MB / 0.6416 GB, free: 15.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.23, allocations: 15.06 kB / 0.6416 GB, free: 15.59 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.275599490851164]