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.002152/0.002152, allocations: 184.4 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.927/1.927, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001139/0.001139, allocations: 86.91 kB / 270.9 MB, free: 8.387 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.5309/0.5309, allocations: 43.57 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004743, allocations: 12 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.626/9.751, allocations: 3.12 GB / 3.599 GB, free: 62.48 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/9.751, allocations: 96.19 kB / 3.599 GB, free: 62.43 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.256/15.01, allocations: 1.138 GB / 4.737 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/15.01, allocations: 2.781 kB / 4.737 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.18e-05/15.01, allocations: 21.75 kB / 4.737 GB, free: 71 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.007597/15.02, allocations: 1.648 MB / 4.739 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/15.02, allocations: 11.69 kB / 4.739 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006401/15.02, allocations: 90.75 kB / 4.739 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/15.02, allocations: 0.534 MB / 4.739 GB, free: 69.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/15.02, allocations: 106.6 kB / 4.739 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/15.02, allocations: 56.48 kB / 4.739 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/15.02, allocations: 0.8138 MB / 4.74 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/15.02, allocations: 7.656 kB / 4.74 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/15.02, allocations: 22.67 kB / 4.74 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.677e-05/15.02, allocations: 36.3 kB / 4.74 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/15.02, allocations: 0.635 MB / 4.741 GB, free: 68.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006533/15.03, allocations: 3.925 MB / 4.745 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/15.03, allocations: 403.6 kB / 4.745 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/15.03, allocations: 0.4935 MB / 4.745 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/15.03, allocations: 41.78 kB / 4.746 GB, free: 64.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.606e-06/15.03, allocations: 0 / 4.746 GB, free: 64.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.005042/15.04, allocations: 1.507 MB / 4.747 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/15.04, allocations: 136.4 kB / 4.747 GB, free: 64.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/15.04, allocations: 0.5057 MB / 4.748 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/15.04, allocations: 33.61 kB / 4.748 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/15.04, allocations: 387.9 kB / 4.748 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/15.04, allocations: 160.5 kB / 4.748 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/15.04, allocations: 15.91 kB / 4.748 GB, free: 63.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/15.04, allocations: 346.8 kB / 4.749 GB, free: 62.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/15.04, allocations: 215 kB / 4.749 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/15.04, allocations: 0.5134 MB / 4.749 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/15.04, allocations: 315.5 kB / 4.75 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/15.04, allocations: 0 / 4.75 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002705/15.04, allocations: 0.8867 MB / 4.75 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/15.04, allocations: 13.8 kB / 4.75 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/15.04, allocations: 13.47 kB / 4.75 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/15.04, allocations: 259.9 kB / 4.751 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/15.04, allocations: 125.2 kB / 4.751 GB, free: 61.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/15.05, allocations: 0.8602 MB / 4.752 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/15.05, allocations: 50.91 kB / 4.752 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.321e-05/15.05, allocations: 42.3 kB / 4.752 GB, free: 61.14 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 () * 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.0005387/15.05, allocations: 246 kB / 4.752 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/15.05, allocations: 67.97 kB / 4.752 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/15.05, allocations: 0.7001 MB / 4.753 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/15.05, allocations: 3.969 kB / 4.753 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/15.05, allocations: 3.969 kB / 4.753 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/15.05, allocations: 3.141 kB / 4.753 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/15.05, allocations: 1.383 MB / 4.754 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/15.05, allocations: 0 / 4.754 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/15.06, allocations: 202.6 kB / 4.754 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/15.06, allocations: 57.56 kB / 4.754 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/15.06, allocations: 11 kB / 4.754 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/15.06, allocations: 2.81 MB / 4.757 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/15.06, allocations: 3.625 kB / 4.757 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/15.06, allocations: 1.058 MB / 4.758 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/15.06, allocations: 201.6 kB / 4.758 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/15.06, allocations: 15.59 kB / 4.758 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/15.06, allocations: 27.28 kB / 4.758 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/15.06, allocations: 42.17 kB / 4.758 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.559e-05/15.06, allocations: 23.52 kB / 4.758 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000704/15.06, allocations: 394.3 kB / 4.759 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/15.06, allocations: 0 / 4.759 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001516/15.07, allocations: 248.1 kB / 4.759 GB, free: 55.96 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 () * 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.0008944/15.07, allocations: 395.5 kB / 4.759 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001831/15.07, allocations: 0.5898 MB / 4.76 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/15.07, allocations: 7.469 kB / 4.76 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/15.07, allocations: 460.1 kB / 4.76 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/15.07, allocations: 311.6 kB / 4.761 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/15.08, allocations: 1.68 MB / 4.762 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/15.08, allocations: 0.9542 MB / 4.763 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/15.08, allocations: 61.39 kB / 4.763 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/15.08, allocations: 0 / 4.763 GB, free: 53.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.02934/15.11, allocations: 15.73 MB / 4.779 GB, free: 48.3 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