Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009936/0.0009937, allocations: 183 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 242.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008294/0.0008292, allocations: 100.3 kB / 293.3 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3694/0.3694, allocations: 44.14 MB / 388.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 16 kB / 461.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4142, allocations: 61.87 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.326/6.74, allocations: 3.127 GB / 3.638 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/6.741, allocations: 107.5 kB / 3.638 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.542/9.283, allocations: 0.8675 GB / 4.505 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/9.283, allocations: 0 / 4.505 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.28e-05/9.283, allocations: 18.47 kB / 4.505 GB, free: 69.1 MB / 0.5261 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.005643/9.289, allocations: 1.651 MB / 4.507 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/9.289, allocations: 11.22 kB / 4.507 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/9.289, allocations: 91.25 kB / 4.507 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/9.29, allocations: 0.5555 MB / 4.508 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/9.29, allocations: 101.3 kB / 4.508 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/9.29, allocations: 51.08 kB / 4.508 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/9.291, allocations: 0.8168 MB / 4.508 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/9.291, allocations: 11.88 kB / 4.509 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/9.291, allocations: 28.25 kB / 4.509 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/9.291, allocations: 42.31 kB / 4.509 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008574/9.292, allocations: 0.6299 MB / 4.509 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/9.296, allocations: 3.92 MB / 4.513 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/9.296, allocations: 400.2 kB / 4.513 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/9.296, allocations: 197.2 kB / 4.514 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/9.297, allocations: 0.5027 MB / 4.514 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/9.297, allocations: 39.05 kB / 4.514 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/9.297, allocations: 0 / 4.514 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002544/9.299, allocations: 1.514 MB / 4.516 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/9.299, allocations: 132.3 kB / 4.516 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/9.3, allocations: 0.5618 MB / 4.516 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/9.3, allocations: 33.23 kB / 4.516 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/9.3, allocations: 364.8 kB / 4.517 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/9.3, allocations: 157.6 kB / 4.517 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/9.3, allocations: 15.84 kB / 4.517 GB, free: 61.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/9.3, allocations: 374.7 kB / 4.517 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/9.301, allocations: 220.7 kB / 4.517 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/9.301, allocations: 0.5085 MB / 4.518 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/9.302, allocations: 0.7748 MB / 4.519 GB, free: 59.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/9.302, allocations: 0 / 4.519 GB, free: 59.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00138/9.303, allocations: 0.9335 MB / 4.52 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/9.303, allocations: 11.53 kB / 4.52 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/9.303, allocations: 11.56 kB / 4.52 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009385/9.304, allocations: 260.6 kB / 4.52 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/9.305, allocations: 120.4 kB / 4.52 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007104/9.305, allocations: 0.8629 MB / 4.521 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/9.306, allocations: 48.19 kB / 4.521 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/9.306, allocations: 39.03 kB / 4.521 GB, free: 58.7 MB / 0.5261 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.0003009/9.306, allocations: 244.4 kB / 4.521 GB, free: 58.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/9.306, allocations: 69.41 kB / 4.521 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/9.307, allocations: 0.6986 MB / 4.522 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/9.307, allocations: 13.28 kB / 4.522 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/9.307, allocations: 3.938 kB / 4.522 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/9.307, allocations: 0 / 4.522 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/9.309, allocations: 1.38 MB / 4.523 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/9.309, allocations: 0 / 4.523 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/9.31, allocations: 196.1 kB / 4.523 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/9.31, allocations: 61.77 kB / 4.523 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/9.31, allocations: 11.47 kB / 4.523 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/9.312, allocations: 2.792 MB / 4.526 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/9.312, allocations: 3.844 kB / 4.526 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/9.313, allocations: 0.98 MB / 4.527 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/9.313, allocations: 196.5 kB / 4.527 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/9.313, allocations: 15.59 kB / 4.527 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/9.314, allocations: 30.73 kB / 4.527 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/9.314, allocations: 41.62 kB / 4.527 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/9.314, allocations: 22.05 kB / 4.527 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003675/9.314, allocations: 387.8 kB / 4.528 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/9.314, allocations: 0 / 4.528 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008683/9.315, allocations: 246.5 kB / 4.528 GB, free: 53.64 MB / 0.5261 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.0006918/9.316, allocations: 398.5 kB / 4.528 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001002/9.317, allocations: 0.5979 MB / 4.529 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/9.317, allocations: 5.094 kB / 4.529 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009704/9.318, allocations: 480.2 kB / 4.529 GB, free: 53.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/9.319, allocations: 323.2 kB / 4.53 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/9.321, allocations: 1.648 MB / 4.531 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/9.322, allocations: 0.9309 MB / 4.532 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006637/9.322, allocations: 202.6 kB / 4.532 GB, free: 51.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/9.322, allocations: 64.02 kB / 4.533 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/9.322, allocations: 2.094 kB / 4.533 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.0205/9.343, allocations: 15.83 MB / 4.548 GB, free: 50.24 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches