Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007008/0.0007007, allocations: 89.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2998/0.2998, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.08932, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1754/0.2648, allocations: 15.59 MB / 0.4947 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005711/0.2705, allocations: 5.201 MB / 0.4997 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.2712, allocations: 22.78 kB / 0.4998 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.272, allocations: 257.3 kB / 0.5 GB, free: 34.89 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001732/0.2737, allocations: 0.8227 MB / 0.5008 GB, free: 34.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.276, allocations: 0.818 MB / 0.5016 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.2781, allocations: 2.196 MB / 0.5037 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.2787, allocations: 398.7 kB / 0.5041 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009292/0.2796, allocations: 0.6469 MB / 0.5048 GB, free: 33.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.2803, allocations: 0.6112 MB / 0.5054 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.2804, allocations: 28.91 kB / 0.5054 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.2812, allocations: 319.2 kB / 0.5057 GB, free: 33.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2815, allocations: 236.4 kB / 0.5059 GB, free: 33.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.2818, allocations: 377 kB / 0.5063 GB, free: 33.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.2826, allocations: 0.8119 MB / 0.5071 GB, free: 33.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2826, allocations: 0 / 0.5071 GB, free: 33.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2826, allocations: 0 / 0.5071 GB, free: 33.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.2826, allocations: 4.062 kB / 0.5071 GB, free: 33.07 MB / 378.7 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.001457/0.2841, allocations: 0.8981 MB / 0.5079 GB, free: 32.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2841, allocations: 12.59 kB / 0.508 GB, free: 32.44 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.2842, allocations: 106.1 kB / 0.5081 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.2845, allocations: 86.03 kB / 0.5081 GB, free: 32.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.2851, allocations: 0.5164 MB / 0.5086 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.617e-05/0.2852, allocations: 100.7 kB / 0.5087 GB, free: 31.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/0.2853, allocations: 46.84 kB / 0.5088 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2864, allocations: 0.8332 MB / 0.5096 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.2864, allocations: 5 kB / 0.5096 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.2865, allocations: 28.83 kB / 0.5096 GB, free: 31.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.2866, allocations: 40.52 kB / 0.5097 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.2875, allocations: 0.6404 MB / 0.5103 GB, free: 31.16 MB / 378.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.003317/0.2908, allocations: 4.339 MB / 0.5145 GB, free: 27.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.2913, allocations: 346 kB / 0.5149 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.2915, allocations: 169.8 kB / 0.515 GB, free: 27.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.2928, allocations: 1.704 MB / 0.5167 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2929, allocations: 37.94 kB / 0.5167 GB, free: 25.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.614e-06/0.2929, allocations: 0 / 0.5167 GB, free: 25.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.003018/0.2959, allocations: 1.393 MB / 0.5181 GB, free: 25.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.296, allocations: 142.8 kB / 0.5182 GB, free: 24.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.2965, allocations: 0.6214 MB / 0.5188 GB, free: 24.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.2966, allocations: 40.48 kB / 0.5189 GB, free: 24.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2967, allocations: 393.6 kB / 0.5192 GB, free: 24.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.2968, allocations: 136.5 kB / 0.5194 GB, free: 24.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.2969, allocations: 15.25 kB / 0.5194 GB, free: 24.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.2969, allocations: 376.3 kB / 0.5197 GB, free: 23.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.2972, allocations: 187.1 kB / 0.5199 GB, free: 23.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.2976, allocations: 0.5484 MB / 0.5205 GB, free: 23.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.2982, allocations: 0.7835 MB / 0.5212 GB, free: 22.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2983, allocations: 3.062 kB / 0.5212 GB, free: 22.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001113/0.2994, allocations: 0.8264 MB / 0.522 GB, free: 22.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2994, allocations: 13.97 kB / 0.5221 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2994, allocations: 9.812 kB / 0.5221 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.2998, allocations: 95.36 kB / 0.5222 GB, free: 22.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.3003, allocations: 187.7 kB / 0.5223 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003886/0.3007, allocations: 0.673 MB / 0.523 GB, free: 21.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.3012, allocations: 42.48 kB / 0.523 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.3013, allocations: 39.81 kB / 0.5231 GB, free: 21.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.3015, allocations: 258.2 kB / 0.5233 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.3016, allocations: 75.25 kB / 0.5234 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007142/0.3023, allocations: 0.4952 MB / 0.5239 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3024, allocations: 10.17 kB / 0.5239 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3024, allocations: 3.938 kB / 0.5239 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3024, allocations: 0 / 0.5239 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.3038, allocations: 1.217 MB / 0.5251 GB, free: 20.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3038, allocations: 3.156 kB / 0.5251 GB, free: 20.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.3041, allocations: 69.61 kB / 0.5251 GB, free: 20.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.3042, allocations: 48.69 kB / 0.5252 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3043, allocations: 14.38 kB / 0.5252 GB, free: 20.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002106/0.3045, allocations: 0.5621 MB / 0.5257 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.3045, allocations: 9.656 kB / 0.5258 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.3052, allocations: 0.7293 MB / 0.5265 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.3054, allocations: 186.9 kB / 0.5266 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.3055, allocations: 17.66 kB / 0.5267 GB, free: 19.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.3059, allocations: 23.34 kB / 0.5267 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.306, allocations: 38 kB / 0.5267 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.306, allocations: 24.12 kB / 0.5267 GB, free: 19.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004343/0.3065, allocations: 447.7 kB / 0.5272 GB, free: 18.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 0 / 0.5272 GB, free: 18.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007092/0.3072, allocations: 202.3 kB / 0.5274 GB, free: 18.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.3084, allocations: 1.402 MB / 0.5287 GB, free: 17.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008061/0.3092, allocations: 498.9 kB / 0.5292 GB, free: 17.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3093, allocations: 2.75 kB / 0.5292 GB, free: 17.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.3095, allocations: 182.8 kB / 0.5294 GB, free: 17.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.3112, allocations: 317 kB / 0.5297 GB, free: 17.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.3158, allocations: 4.167 MB / 0.5338 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3161, allocations: 0.9406 MB / 0.5347 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.3164, allocations: 238.2 kB / 0.5349 GB, free: 14.13 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3164, allocations: 0 / 0.5349 GB, free: 14.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.182/4.499, allocations: 14.83 MB / 0.5494 GB, free: 9.574 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches