Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 173.7 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.231/1.231, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007768/0.000777, allocations: 94.36 kB / 271.2 MB, free: 8.242 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.288/0.288, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 16 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 58.85 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2177/0.3271, allocations: 41.32 MB / 0.5197 GB, free: 21.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004795/0.3319, allocations: 4.218 MB / 0.5238 GB, free: 18.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007583/0.3327, allocations: 28.25 kB / 0.5238 GB, free: 18.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.3335, allocations: 258.3 kB / 0.5241 GB, free: 17.99 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.001782/0.3353, allocations: 0.8312 MB / 0.5249 GB, free: 17.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.3371, allocations: 0.7164 MB / 0.5256 GB, free: 17.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.3389, allocations: 2.206 MB / 0.5277 GB, free: 16.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/0.3395, allocations: 396.2 kB / 0.5281 GB, free: 16.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1089/0.4483, allocations: 73.55 MB / 0.5999 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01932/0.4677, allocations: 13.72 MB / 0.6133 GB, free: 13.04 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.4679, allocations: 35.94 kB / 0.6134 GB, free: 13.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02636/0.4943, allocations: 18.77 MB / 0.6317 GB, free: 10.23 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004685/0.4948, allocations: 231.2 kB / 0.6319 GB, free: 10 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005263/0.4953, allocations: 380.1 kB / 0.6323 GB, free: 9.621 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009187/0.4963, allocations: 0.7833 MB / 0.633 GB, free: 8.836 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4963, allocations: 0 / 0.633 GB, free: 8.836 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4963, allocations: 0 / 0.633 GB, free: 8.836 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4963, allocations: 0 / 0.633 GB, free: 8.836 MB / 458.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.001852/0.4982, allocations: 0.923 MB / 0.6339 GB, free: 7.867 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4982, allocations: 8.031 kB / 0.6339 GB, free: 7.859 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.4985, allocations: 88.08 kB / 0.634 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.4992, allocations: 0.5063 MB / 0.6345 GB, free: 7.227 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.4994, allocations: 105 kB / 0.6346 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-05/0.4995, allocations: 48.36 kB / 0.6347 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5006, allocations: 0.8174 MB / 0.6355 GB, free: 6.176 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5006, allocations: 3.938 kB / 0.6355 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.5007, allocations: 27.94 kB / 0.6355 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.5008, allocations: 40.97 kB / 0.6355 GB, free: 6.105 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.5018, allocations: 0.6361 MB / 0.6362 GB, free: 5.473 MB / 458.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.004187/0.506, allocations: 4.222 MB / 0.6403 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.5068, allocations: 416.5 kB / 0.6407 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.5071, allocations: 205.4 kB / 0.6409 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004306/0.5075, allocations: 0.499 MB / 0.6414 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.5076, allocations: 38.89 kB / 0.6414 GB, free: 15.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 2.715e-06/0.5076, allocations: 0 / 0.6414 GB, free: 15.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=45): time 0.002907/0.5105, allocations: 1.534 MB / 0.6429 GB, free: 14.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.5105, allocations: 132.5 kB / 0.643 GB, free: 13.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.5111, allocations: 0.5615 MB / 0.6436 GB, free: 13.37 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.5112, allocations: 37.7 kB / 0.6436 GB, free: 13.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.5114, allocations: 347 kB / 0.6439 GB, free: 12.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.5115, allocations: 169.7 kB / 0.6441 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.5116, allocations: 20 kB / 0.6441 GB, free: 12.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5117, allocations: 374.7 kB / 0.6445 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.5121, allocations: 221.9 kB / 0.6447 GB, free: 12.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.5126, allocations: 0.5162 MB / 0.6452 GB, free: 11.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009068/0.5135, allocations: 0.7718 MB / 0.646 GB, free: 10.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5135, allocations: 4 kB / 0.646 GB, free: 10.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001772/0.5153, allocations: 0.9722 MB / 0.6469 GB, free: 9.664 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5153, allocations: 8 kB / 0.6469 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5153, allocations: 8 kB / 0.6469 GB, free: 9.648 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.5164, allocations: 268.3 kB / 0.6472 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.5168, allocations: 127.8 kB / 0.6473 GB, free: 9.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008954/0.5177, allocations: 0.8723 MB / 0.6481 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.5182, allocations: 48.03 kB / 0.6482 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.5183, allocations: 32 kB / 0.6482 GB, free: 8.289 MB / 474.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.0003017/0.5186, allocations: 249.5 kB / 0.6485 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.5187, allocations: 67.16 kB / 0.6485 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.52, allocations: 0.7168 MB / 0.6492 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.52, allocations: 7.938 kB / 0.6492 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.52, allocations: 3.938 kB / 0.6492 GB, free: 7.227 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.52, allocations: 0 / 0.6492 GB, free: 7.227 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.522, allocations: 1.391 MB / 0.6506 GB, free: 5.754 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.522, allocations: 8.219 kB / 0.6506 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/0.523, allocations: 195.7 kB / 0.6508 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.5232, allocations: 64.69 kB / 0.6509 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.5233, allocations: 16 kB / 0.6509 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.5254, allocations: 2.799 MB / 0.6536 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5254, allocations: 8.062 kB / 0.6536 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5269, allocations: 0.9878 MB / 0.6546 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.5271, allocations: 200.2 kB / 0.6548 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.5272, allocations: 8 kB / 0.6548 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.5276, allocations: 36.03 kB / 0.6548 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.5277, allocations: 35.89 kB / 0.6548 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.5278, allocations: 19.98 kB / 0.6549 GB, free: 1.059 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004393/0.5282, allocations: 394.8 kB / 0.6552 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5282, allocations: 3.938 kB / 0.6552 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007079/0.5289, allocations: 203.9 kB / 0.6554 GB, free: 484 kB / 474.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.0004734/0.5294, allocations: 239.5 kB / 0.6557 GB, free: 236 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.5305, allocations: 0.6046 MB / 0.6563 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5306, allocations: 7.828 kB / 0.6563 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5316, allocations: 467 kB / 0.6567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.5332, allocations: 326.7 kB / 0.657 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.5352, allocations: 1.691 MB / 0.6587 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.5357, allocations: 0.9387 MB / 0.6596 GB, free: 12.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.5359, allocations: 59.44 kB / 0.6596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5359, allocations: 0 / 0.6596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of Templates: time 0.1938/0.7297, allocations: 15.16 MB / 0.6744 GB, free: 149.4 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches