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.00214/0.00214, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 89.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2961/0.2961, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.892e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.3999, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.175/9.575, allocations: 3.119 GB / 3.585 GB, free: 42.53 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/9.575, allocations: 100.5 kB / 3.585 GB, free: 42.48 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 5.242/14.82, allocations: 1.125 GB / 4.71 GB, free: 79.02 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.372e-06/14.82, allocations: 0 / 4.71 GB, free: 79.02 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.208e-05/14.82, allocations: 17.09 kB / 4.71 GB, free: 79 MB / 0.5108 GB 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.007165/14.82, allocations: 1.569 MB / 4.712 GB, free: 77.53 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/14.82, allocations: 12.03 kB / 4.712 GB, free: 77.52 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/14.82, allocations: 87.06 kB / 4.712 GB, free: 77.43 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/14.83, allocations: 0.542 MB / 4.712 GB, free: 76.94 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/14.83, allocations: 84.38 kB / 4.712 GB, free: 76.84 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/14.83, allocations: 28 kB / 4.712 GB, free: 76.82 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001389/14.83, allocations: 0.5457 MB / 4.713 GB, free: 76.33 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/14.83, allocations: 0.7444 MB / 4.714 GB, free: 75.61 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/14.83, allocations: 6.422 kB / 4.714 GB, free: 75.61 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/14.83, allocations: 4 kB / 4.714 GB, free: 75.6 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/14.83, allocations: 36.78 kB / 4.714 GB, free: 75.57 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006945/14.84, allocations: 3.981 MB / 4.718 GB, free: 71.78 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/14.84, allocations: 313.4 kB / 4.718 GB, free: 71.49 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/14.84, allocations: 167.5 kB / 4.718 GB, free: 71.34 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/14.84, allocations: 344.3 kB / 4.718 GB, free: 70.94 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/14.84, allocations: 34.84 kB / 4.718 GB, free: 70.89 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=34): time 3.446e-06/14.84, allocations: 0 / 4.718 GB, free: 70.89 MB / 0.5108 GB Notification: Performance of matching and sorting (n=39): time 0.004973/14.84, allocations: 1.285 MB / 4.72 GB, free: 69.72 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/14.84, allocations: 136.5 kB / 4.72 GB, free: 69.55 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/14.84, allocations: 443 kB / 4.72 GB, free: 69.16 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/14.84, allocations: 38.48 kB / 4.72 GB, free: 69.11 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/14.85, allocations: 419.4 kB / 4.721 GB, free: 68.72 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/14.85, allocations: 137.8 kB / 4.721 GB, free: 68.6 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/14.85, allocations: 0 / 4.721 GB, free: 68.6 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/14.85, allocations: 340.9 kB / 4.721 GB, free: 68.27 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/14.85, allocations: 192.1 kB / 4.721 GB, free: 68.09 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/14.85, allocations: 493.6 kB / 4.722 GB, free: 67.5 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/14.85, allocations: 336.3 kB / 4.722 GB, free: 67.23 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/14.85, allocations: 8 kB / 4.722 GB, free: 67.22 MB / 0.5108 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003229/14.85, allocations: 0.8587 MB / 4.723 GB, free: 66.47 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/14.85, allocations: 8 kB / 4.723 GB, free: 66.46 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/14.85, allocations: 15.98 kB / 4.723 GB, free: 66.45 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/14.85, allocations: 228.9 kB / 4.723 GB, free: 66.27 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008946/14.85, allocations: 129.1 kB / 4.723 GB, free: 66.16 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/14.85, allocations: 0.8729 MB / 4.724 GB, free: 65.31 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/14.86, allocations: 36.67 kB / 4.724 GB, free: 65.28 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/14.86, allocations: 35.89 kB / 4.724 GB, free: 65.25 MB / 0.5108 GB 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 () * 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.0002181/14.86, allocations: 132.8 kB / 4.724 GB, free: 65.11 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/14.86, allocations: 59.25 kB / 4.724 GB, free: 65.05 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/14.86, allocations: 0.5879 MB / 4.725 GB, free: 64.57 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/14.86, allocations: 11.95 kB / 4.725 GB, free: 64.55 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/14.86, allocations: 0 / 4.725 GB, free: 64.55 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/14.86, allocations: 3.656 kB / 4.725 GB, free: 64.55 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/14.86, allocations: 1.473 MB / 4.726 GB, free: 63.19 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/14.86, allocations: 1.688 kB / 4.726 GB, free: 63.19 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/14.86, allocations: 194.4 kB / 4.727 GB, free: 63.04 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003656/14.86, allocations: 55.23 kB / 4.727 GB, free: 63 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/14.86, allocations: 8 kB / 4.727 GB, free: 63 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/14.87, allocations: 2.681 MB / 4.729 GB, free: 60.17 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/14.87, allocations: 4.031 kB / 4.729 GB, free: 60.16 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/14.87, allocations: 0.9601 MB / 4.73 GB, free: 59.21 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/14.87, allocations: 198.6 kB / 4.73 GB, free: 59.02 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/14.87, allocations: 4 kB / 4.73 GB, free: 59.02 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/14.87, allocations: 19.84 kB / 4.73 GB, free: 59 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/14.87, allocations: 35.44 kB / 4.73 GB, free: 58.98 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/14.87, allocations: 23.89 kB / 4.73 GB, free: 58.96 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0005406/14.87, allocations: 328.2 kB / 4.731 GB, free: 58.68 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.71e-07/14.87, allocations: 0 / 4.731 GB, free: 58.68 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001479/14.87, allocations: 223.6 kB / 4.731 GB, free: 58.46 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.0008944/14.87, allocations: 404.6 kB / 4.731 GB, free: 58.14 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001492/14.87, allocations: 0.5313 MB / 4.732 GB, free: 57.66 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/14.87, allocations: 0 / 4.732 GB, free: 57.66 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/14.88, allocations: 410.8 kB / 4.732 GB, free: 57.29 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/14.88, allocations: 273 kB / 4.733 GB, free: 57.1 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/14.88, allocations: 0.9904 MB / 4.734 GB, free: 56.17 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/14.88, allocations: 0.9497 MB / 4.734 GB, free: 55.3 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/14.88, allocations: 61.53 kB / 4.734 GB, free: 55.24 MB / 0.5108 GB Notification: Performance of SimCode: time 2.124e-06/14.88, allocations: 0 / 4.734 GB, free: 55.24 MB / 0.5108 GB Notification: Performance of Templates: time 0.02823/14.91, allocations: 15.08 MB / 4.749 GB, free: 45.3 MB / 0.5108 GB 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/jenkins1/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