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.002216/0.002216, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001105/0.001105, allocations: 74.78 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2801/0.2801, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.539e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.363/9.475, allocations: 3.12 GB / 3.593 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/9.476, allocations: 100.8 kB / 3.593 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.829/14.3, allocations: 1.137 GB / 4.73 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/14.3, allocations: 0 / 4.73 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.486e-05/14.3, allocations: 23.7 kB / 4.73 GB, free: 3.082 MB / 0.5105 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.007181/14.31, allocations: 1.573 MB / 4.732 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/14.31, allocations: 12.03 kB / 4.732 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/14.31, allocations: 87.06 kB / 4.732 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/14.31, allocations: 0.5278 MB / 4.732 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/14.31, allocations: 104.4 kB / 4.732 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/14.31, allocations: 48 kB / 4.732 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3655/14.68, allocations: 0.8026 MB / 4.733 GB, free: 73.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/14.68, allocations: 8.828 kB / 4.733 GB, free: 73.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/14.68, allocations: 27.08 kB / 4.733 GB, free: 73.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/14.68, allocations: 38.53 kB / 4.733 GB, free: 73.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/14.68, allocations: 0.6195 MB / 4.734 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006847/14.69, allocations: 3.93 MB / 4.738 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/14.69, allocations: 380.7 kB / 4.738 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/14.69, allocations: 197.4 kB / 4.738 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/14.69, allocations: 0.5033 MB / 4.739 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/14.69, allocations: 40.86 kB / 4.739 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.997e-06/14.69, allocations: 0 / 4.739 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004369/14.7, allocations: 1.342 MB / 4.74 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/14.7, allocations: 139.1 kB / 4.74 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/14.7, allocations: 0.4886 MB / 4.741 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/14.7, allocations: 35.33 kB / 4.741 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/14.7, allocations: 389.2 kB / 4.741 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/14.7, allocations: 165 kB / 4.741 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/14.7, allocations: 13.5 kB / 4.741 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/14.7, allocations: 342.7 kB / 4.742 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/14.7, allocations: 210.1 kB / 4.742 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/14.7, allocations: 0.5011 MB / 4.742 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/14.7, allocations: 309.3 kB / 4.743 GB, free: 68.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/14.7, allocations: 2.125 kB / 4.743 GB, free: 68.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00248/14.7, allocations: 0.875 MB / 4.743 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/14.7, allocations: 10.88 kB / 4.743 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/14.7, allocations: 7.562 kB / 4.743 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/14.7, allocations: 258 kB / 4.744 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/14.7, allocations: 128.1 kB / 4.744 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/14.71, allocations: 0.8561 MB / 4.745 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/14.71, allocations: 47 kB / 4.745 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/14.71, allocations: 35.75 kB / 4.745 GB, free: 68.34 MB / 0.5105 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.0002356/14.71, allocations: 155.4 kB / 4.745 GB, free: 68.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/14.71, allocations: 68.25 kB / 4.745 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/14.71, allocations: 0.6893 MB / 4.746 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/14.71, allocations: 8.969 kB / 4.746 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/14.71, allocations: 5.062 kB / 4.746 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/14.71, allocations: 2.438 kB / 4.746 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/14.71, allocations: 1.373 MB / 4.747 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/14.71, allocations: 2.281 kB / 4.747 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/14.72, allocations: 197.2 kB / 4.747 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/14.72, allocations: 57.05 kB / 4.747 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/14.72, allocations: 17.66 kB / 4.747 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/14.72, allocations: 2.783 MB / 4.75 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/14.72, allocations: 7.156 kB / 4.75 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/14.72, allocations: 1.039 MB / 4.751 GB, free: 64.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/14.72, allocations: 205.9 kB / 4.751 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/14.72, allocations: 13.98 kB / 4.751 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/14.72, allocations: 28.2 kB / 4.751 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/14.72, allocations: 48.44 kB / 4.751 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/14.72, allocations: 19.47 kB / 4.751 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007803/14.72, allocations: 386.2 kB / 4.752 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/14.72, allocations: 0 / 4.752 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001433/14.72, allocations: 240.9 kB / 4.752 GB, free: 64.55 MB / 0.5105 GB 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 () * 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.0009501/14.73, allocations: 394.3 kB / 4.752 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001883/14.73, allocations: 0.5756 MB / 4.753 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/14.73, allocations: 3.156 kB / 4.753 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/14.73, allocations: 461.2 kB / 4.753 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/14.73, allocations: 327.6 kB / 4.754 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/14.74, allocations: 1.053 MB / 4.755 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/14.74, allocations: 0.9495 MB / 4.756 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/14.74, allocations: 62.52 kB / 4.756 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/14.74, allocations: 0 / 4.756 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.0311/14.77, allocations: 15.71 MB / 4.771 GB, free: 63.02 MB / 0.5105 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