Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 117.6 kB / 20.32 MB, free: 1.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 205.9 kB / 23.6 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.4 MB / 257.1 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.93 MB / 360.5 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 83.86 kB / 0.4958 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3427, allocations: 66.08 MB / 0.5603 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02209/0.3648, allocations: 18.66 MB / 0.5786 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006247/0.371, allocations: 3.987 MB / 0.5825 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004698/0.3715, allocations: 31.75 kB / 0.5825 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008503/0.3724, allocations: 306 kB / 0.5828 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.3742, allocations: 0.89 MB / 0.5837 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.3767, allocations: 0.9254 MB / 0.5846 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.3796, allocations: 1.813 MB / 0.5863 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.3803, allocations: 393.7 kB / 0.5867 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.3821, allocations: 0.9612 MB / 0.5876 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.3832, allocations: 0.6773 MB / 0.5883 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.3833, allocations: 60 kB / 0.5884 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008346/0.3841, allocations: 291.6 kB / 0.5886 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.3844, allocations: 263.2 kB / 0.5889 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.3849, allocations: 330.6 kB / 0.5892 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.3864, allocations: 1.082 MB / 0.5903 GB, free: 5.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3864, allocations: 0 / 0.5903 GB, free: 5.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3864, allocations: 0 / 0.5903 GB, free: 5.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3864, allocations: 0 / 0.5903 GB, free: 5.543 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.002286/0.3887, allocations: 0.9873 MB / 0.5912 GB, free: 4.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3887, allocations: 12.03 kB / 0.5912 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.3889, allocations: 106.7 kB / 0.5913 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.3892, allocations: 92.42 kB / 0.5914 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008876/0.3901, allocations: 474.7 kB / 0.5919 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.3903, allocations: 160.3 kB / 0.592 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.3904, allocations: 56.08 kB / 0.5921 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.3919, allocations: 1.068 MB / 0.5931 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.3919, allocations: 7.938 kB / 0.5931 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/0.392, allocations: 31.98 kB / 0.5932 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.392, allocations: 36.98 kB / 0.5932 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3932, allocations: 0.6439 MB / 0.5938 GB, free: 1.66 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.00469/0.3979, allocations: 3.41 MB / 0.5972 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/0.3988, allocations: 396 kB / 0.5975 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.3991, allocations: 193.4 kB / 0.5977 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.3994, allocations: 48.28 kB / 0.5978 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.3994, allocations: 38.89 kB / 0.5978 GB, free: 13.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.3994, allocations: 0 / 0.5978 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003416/0.4028, allocations: 1.463 MB / 0.5992 GB, free: 11.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/0.4029, allocations: 136.5 kB / 0.5994 GB, free: 11.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008098/0.4038, allocations: 0.5771 MB / 0.5999 GB, free: 11.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.4038, allocations: 33.7 kB / 0.6 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.4041, allocations: 359.9 kB / 0.6003 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.4043, allocations: 178.5 kB / 0.6005 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.4045, allocations: 130.6 kB / 0.6006 GB, free: 10.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.4047, allocations: 382.6 kB / 0.601 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.4051, allocations: 221.9 kB / 0.6012 GB, free: 9.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008747/0.406, allocations: 0.6078 MB / 0.6018 GB, free: 9.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.4072, allocations: 0.7757 MB / 0.6025 GB, free: 8.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4072, allocations: 4 kB / 0.6025 GB, free: 8.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001912/0.4091, allocations: 0.9338 MB / 0.6034 GB, free: 7.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4091, allocations: 10.19 kB / 0.6035 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4091, allocations: 8 kB / 0.6035 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.4103, allocations: 267 kB / 0.6037 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.4107, allocations: 123.8 kB / 0.6038 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.4118, allocations: 0.8684 MB / 0.6047 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.4123, allocations: 27.98 kB / 0.6047 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.4124, allocations: 36 kB / 0.6047 GB, free: 5.918 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.0003667/0.4127, allocations: 242.2 kB / 0.605 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.4129, allocations: 67.58 kB / 0.605 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.4143, allocations: 0.7236 MB / 0.6057 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.4144, allocations: 8 kB / 0.6058 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4144, allocations: 0 / 0.6058 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.4144, allocations: 3.984 kB / 0.6058 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.4169, allocations: 1.305 MB / 0.607 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.4169, allocations: 0 / 0.607 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009977/0.4179, allocations: 191.8 kB / 0.6072 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.4182, allocations: 56.73 kB / 0.6073 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.4182, allocations: 20 kB / 0.6073 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.421, allocations: 2.765 MB / 0.61 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.421, allocations: 8.094 kB / 0.61 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.4227, allocations: 1.005 MB / 0.611 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.4231, allocations: 131.4 kB / 0.6111 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.4232, allocations: 15.98 kB / 0.6111 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.4236, allocations: 12 kB / 0.6111 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4237, allocations: 43.81 kB / 0.6112 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.4238, allocations: 23.98 kB / 0.6112 GB, free: 14.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006412/0.4244, allocations: 419 kB / 0.6116 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4244, allocations: 4.062 kB / 0.6116 GB, free: 14.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008484/0.4253, allocations: 207.9 kB / 0.6118 GB, free: 14.33 MB / 462.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.002354/0.4276, allocations: 1.661 MB / 0.6134 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.4289, allocations: 0.5815 MB / 0.614 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4289, allocations: 3.938 kB / 0.614 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.4302, allocations: 482.4 kB / 0.6145 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.4319, allocations: 364.2 kB / 0.6148 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.4426, allocations: 6.553 MB / 0.6212 GB, free: 4.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.443, allocations: 337.4 kB / 0.6215 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007193/0.4438, allocations: 201.8 kB / 0.6217 GB, free: 3.723 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.4441, allocations: 231.4 kB / 0.6219 GB, free: 3.496 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4441, allocations: 0 / 0.6219 GB, free: 3.496 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0653/0.5094, allocations: 22.34 MB / 0.6437 GB, free: 13.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.46, allocations: 7.938 kB / 0.6438 GB, free: 13.36 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.696959440014325]