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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108.8 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 193.3 kB / 18.25 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2023/0.2023, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 60.94 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09165, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01926/0.1109, allocations: 20.75 MB / 489.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006093/0.1171, allocations: 4.383 MB / 494 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.1176, allocations: 27.81 kB / 494 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.1184, allocations: 278.5 kB / 494.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.12, allocations: 0.797 MB / 495.1 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.1219, allocations: 0.8427 MB / 495.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.1237, allocations: 1.805 MB / 497.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.1243, allocations: 449.3 kB / 498.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.1257, allocations: 0.9184 MB / 499.1 MB, free: 292 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008097/0.1265, allocations: 0.6656 MB / 499.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.1266, allocations: 60 kB / 499.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006151/0.1272, allocations: 307.6 kB / 0.4884 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1274, allocations: 271.2 kB / 0.4886 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.1278, allocations: 390.2 kB / 0.489 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.129, allocations: 1.079 MB / 0.49 GB, free: 13.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.129, allocations: 0 / 0.49 GB, free: 13.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.129, allocations: 0 / 0.49 GB, free: 13.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.129, allocations: 0 / 0.49 GB, free: 13.53 MB / 382.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.001929/0.1309, allocations: 1.052 MB / 0.4911 GB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.131, allocations: 12.03 kB / 0.4911 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.1311, allocations: 98.69 kB / 0.4912 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.1314, allocations: 88 kB / 0.4913 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.1322, allocations: 0.5054 MB / 0.4918 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1323, allocations: 104.9 kB / 0.4919 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.1324, allocations: 52.12 kB / 0.4919 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.1335, allocations: 0.8213 MB / 0.4927 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1336, allocations: 4 kB / 0.4927 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.696e-05/0.1336, allocations: 24 kB / 0.4927 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.167e-05/0.1337, allocations: 40.97 kB / 0.4928 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1348, allocations: 0.6478 MB / 0.4934 GB, free: 9.902 MB / 382.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.004555/0.1393, allocations: 4.217 MB / 0.4975 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.1402, allocations: 418.9 kB / 0.4979 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.1405, allocations: 205.4 kB / 0.4981 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004642/0.141, allocations: 0.495 MB / 0.4986 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.141, allocations: 43.16 kB / 0.4986 GB, free: 4.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.923e-06/0.141, allocations: 0 / 0.4986 GB, free: 4.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.00311/0.1441, allocations: 1.528 MB / 0.5001 GB, free: 2.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1442, allocations: 132.5 kB / 0.5003 GB, free: 2.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.1449, allocations: 0.5693 MB / 0.5008 GB, free: 1.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.145, allocations: 45.58 kB / 0.5009 GB, free: 1.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.1452, allocations: 347.1 kB / 0.5012 GB, free: 1.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1453, allocations: 165.6 kB / 0.5014 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.1455, allocations: 138.6 kB / 0.5015 GB, free: 1.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1457, allocations: 382.7 kB / 0.5019 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.146, allocations: 221.9 kB / 0.5021 GB, free: 0.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.189/0.335, allocations: 0.518 MB / 0.5026 GB, free: 51.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.3362, allocations: 0.7785 MB / 0.5033 GB, free: 51.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3362, allocations: 1.812 kB / 0.5033 GB, free: 51.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001868/0.3381, allocations: 0.9359 MB / 0.5042 GB, free: 50.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3381, allocations: 15.28 kB / 0.5043 GB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3382, allocations: 12.66 kB / 0.5043 GB, free: 50.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.3393, allocations: 263.4 kB / 0.5045 GB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.3397, allocations: 128.8 kB / 0.5046 GB, free: 50.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008323/0.3406, allocations: 0.8595 MB / 0.5055 GB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.3412, allocations: 50.33 kB / 0.5055 GB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.3413, allocations: 37.36 kB / 0.5056 GB, free: 50.39 MB / 382.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.0003296/0.3416, allocations: 245.9 kB / 0.5058 GB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3417, allocations: 68.94 kB / 0.5059 GB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.343, allocations: 0.708 MB / 0.5066 GB, free: 49.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.343, allocations: 6.125 kB / 0.5066 GB, free: 49.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3431, allocations: 1.344 kB / 0.5066 GB, free: 49.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.3431, allocations: 2.344 kB / 0.5066 GB, free: 49.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.3452, allocations: 1.405 MB / 0.5079 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3452, allocations: 5 kB / 0.5079 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.3462, allocations: 193.4 kB / 0.5081 GB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.3464, allocations: 60.61 kB / 0.5082 GB, free: 49.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.3465, allocations: 14.88 kB / 0.5082 GB, free: 49.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.3482, allocations: 2.984 MB / 0.5111 GB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3483, allocations: 3.062 kB / 0.5111 GB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.3497, allocations: 1.002 MB / 0.5121 GB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.35, allocations: 197.6 kB / 0.5123 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.3501, allocations: 14.22 kB / 0.5123 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.3505, allocations: 31.8 kB / 0.5123 GB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.3506, allocations: 41.25 kB / 0.5124 GB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.3506, allocations: 24.61 kB / 0.5124 GB, free: 45.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004993/0.3511, allocations: 423.8 kB / 0.5128 GB, free: 45.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3511, allocations: 0 / 0.5128 GB, free: 45.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007995/0.3519, allocations: 210.2 kB / 0.513 GB, free: 45.25 MB / 382.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.001841/0.3538, allocations: 1.667 MB / 0.5146 GB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.3551, allocations: 0.6721 MB / 0.5153 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3551, allocations: 0 / 0.5153 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.3562, allocations: 481.6 kB / 0.5157 GB, free: 43.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.3579, allocations: 372.7 kB / 0.5161 GB, free: 43.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/0.3672, allocations: 6.963 MB / 0.5229 GB, free: 39.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.3678, allocations: 0.9444 MB / 0.5238 GB, free: 38.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009074/0.3687, allocations: 204.5 kB / 0.524 GB, free: 38.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.369, allocations: 236.8 kB / 0.5242 GB, free: 38.43 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.369, allocations: 0 / 0.5242 GB, free: 38.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.4063, allocations: 21.72 MB / 0.5455 GB, free: 20.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.4066, allocations: 318.9 kB / 0.5458 GB, free: 19.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.866, allocations: 6.984 kB / 0.5458 GB, free: 19.86 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/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) Reference file matches