Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.669/1.669, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0007996/0.0007998, allocations: 93.27 kB / 270.9 MB, free: 8.359 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.3308/0.3308, allocations: 43.57 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003373, allocations: 8 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1916/0.2952, allocations: 19.14 MB / 0.4975 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005482/0.3007, allocations: 4.126 MB / 0.5015 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007464/0.3015, allocations: 26.56 kB / 0.5015 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.3022, allocations: 264.7 kB / 0.5018 GB, free: 34.41 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.001756/0.304, allocations: 0.7873 MB / 0.5025 GB, free: 34.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.3061, allocations: 0.7021 MB / 0.5032 GB, free: 33.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.3081, allocations: 2.19 MB / 0.5054 GB, free: 33.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.3087, allocations: 385.2 kB / 0.5057 GB, free: 32.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.3099, allocations: 0.7675 MB / 0.5065 GB, free: 32.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.3107, allocations: 0.6219 MB / 0.5071 GB, free: 32.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.891e-05/0.3108, allocations: 30.69 kB / 0.5071 GB, free: 32.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.3114, allocations: 207.1 kB / 0.5073 GB, free: 32.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3116, allocations: 229.5 kB / 0.5075 GB, free: 32.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.3117, allocations: 164.8 kB / 0.5077 GB, free: 32.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.3123, allocations: 0.7638 MB / 0.5084 GB, free: 32.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3124, allocations: 4 kB / 0.5084 GB, free: 32.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3124, allocations: 0 / 0.5084 GB, free: 32.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3124, allocations: 0 / 0.5084 GB, free: 32.03 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.00169/0.3141, allocations: 0.9198 MB / 0.5093 GB, free: 31.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3141, allocations: 12.98 kB / 0.5093 GB, free: 31.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.3144, allocations: 91.73 kB / 0.5094 GB, free: 31.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.3151, allocations: 0.4949 MB / 0.5099 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.3152, allocations: 102.4 kB / 0.51 GB, free: 30.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.3153, allocations: 50.86 kB / 0.5101 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3163, allocations: 0.8144 MB / 0.5109 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.3164, allocations: 5.156 kB / 0.5109 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.3164, allocations: 22.83 kB / 0.5109 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/0.3165, allocations: 36.61 kB / 0.5109 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/0.3174, allocations: 0.6422 MB / 0.5115 GB, free: 30.21 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.003557/0.321, allocations: 4.231 MB / 0.5157 GB, free: 26.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.3218, allocations: 412.6 kB / 0.5161 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.3221, allocations: 204 kB / 0.5163 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.3224, allocations: 0.4939 MB / 0.5167 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3224, allocations: 37.77 kB / 0.5168 GB, free: 25.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.3225, allocations: 4 kB / 0.5168 GB, free: 25.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002653/0.3251, allocations: 1.528 MB / 0.5183 GB, free: 25.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.3252, allocations: 135.1 kB / 0.5184 GB, free: 24.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.3257, allocations: 0.5643 MB / 0.519 GB, free: 24.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.3258, allocations: 36.77 kB / 0.519 GB, free: 24.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3259, allocations: 355.7 kB / 0.5193 GB, free: 24.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.326, allocations: 159.4 kB / 0.5195 GB, free: 24.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.3261, allocations: 15.41 kB / 0.5195 GB, free: 24.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.3261, allocations: 378.5 kB / 0.5199 GB, free: 23.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3265, allocations: 221.1 kB / 0.5201 GB, free: 23.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.3269, allocations: 0.5179 MB / 0.5206 GB, free: 23.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.3273, allocations: 320.8 kB / 0.5209 GB, free: 23.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3273, allocations: 3.094 kB / 0.5209 GB, free: 23.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00158/0.3289, allocations: 0.9651 MB / 0.5218 GB, free: 22.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3289, allocations: 9.531 kB / 0.5218 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3289, allocations: 10.5 kB / 0.5218 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.3299, allocations: 273.6 kB / 0.5221 GB, free: 22.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.3303, allocations: 127.2 kB / 0.5222 GB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/0.3311, allocations: 0.8637 MB / 0.5231 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.3315, allocations: 47.69 kB / 0.5231 GB, free: 22.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.3316, allocations: 35.08 kB / 0.5231 GB, free: 22.02 MB / 378.7 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 (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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.3319, allocations: 254.7 kB / 0.5234 GB, free: 21.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.332, allocations: 62.22 kB / 0.5235 GB, free: 21.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.3331, allocations: 0.7142 MB / 0.5241 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.3331, allocations: 10.06 kB / 0.5242 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3331, allocations: 0 / 0.5242 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3331, allocations: 0 / 0.5242 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.335, allocations: 1.397 MB / 0.5255 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.335, allocations: 3.062 kB / 0.5255 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009036/0.3359, allocations: 201.4 kB / 0.5257 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.3362, allocations: 62.81 kB / 0.5258 GB, free: 20.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.3362, allocations: 14.84 kB / 0.5258 GB, free: 20.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.338, allocations: 2.788 MB / 0.5285 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.338, allocations: 0 / 0.5285 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3392, allocations: 0.9926 MB / 0.5295 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.3394, allocations: 196.5 kB / 0.5297 GB, free: 17.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.3395, allocations: 18.47 kB / 0.5297 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.3399, allocations: 28.19 kB / 0.5297 GB, free: 17.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.34, allocations: 45.52 kB / 0.5298 GB, free: 17.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.34, allocations: 30.75 kB / 0.5298 GB, free: 17.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003704/0.3404, allocations: 388.3 kB / 0.5302 GB, free: 16.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3404, allocations: 0 / 0.5302 GB, free: 16.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006768/0.3411, allocations: 203.6 kB / 0.5304 GB, free: 16.95 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004178/0.3415, allocations: 242.8 kB / 0.5306 GB, free: 16.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009261/0.3425, allocations: 0.6019 MB / 0.5312 GB, free: 16.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3425, allocations: 3.688 kB / 0.5312 GB, free: 16.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009553/0.3434, allocations: 470.4 kB / 0.5316 GB, free: 16.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.3449, allocations: 331.5 kB / 0.5319 GB, free: 16.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3469, allocations: 1.696 MB / 0.5336 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3472, allocations: 0.9342 MB / 0.5345 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.3474, allocations: 65.41 kB / 0.5346 GB, free: 14.56 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3474, allocations: 0 / 0.5346 GB, free: 14.56 MB / 378.7 MB Notification: Performance of Templates: time 0.01994/0.3673, allocations: 15.17 MB / 0.5494 GB, free: 9.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches