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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 243 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2045/0.2045, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.25 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1461, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04829/0.1945, allocations: 43.93 MB / 0.5026 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2881/0.4826, allocations: 4.359 MB / 0.5068 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009255/0.4836, allocations: 21.47 kB / 0.5069 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.4847, allocations: 315.3 kB / 0.5072 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.4877, allocations: 0.8497 MB / 0.508 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.4909, allocations: 0.8913 MB / 0.5089 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003114/0.4941, allocations: 1.796 MB / 0.5106 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009965/0.4951, allocations: 463.1 kB / 0.511 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1102/0.6053, allocations: 44.54 MB / 0.5545 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02075/0.6261, allocations: 7.954 MB / 0.5623 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.6264, allocations: 60 kB / 0.5624 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02708/0.6535, allocations: 10.67 MB / 0.5728 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.6543, allocations: 265.3 kB / 0.5731 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009092/0.6552, allocations: 391.1 kB / 0.5734 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.657, allocations: 1.082 MB / 0.5745 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.657, allocations: 0 / 0.5745 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6571, allocations: 0 / 0.5745 GB, free: 14.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.6571, allocations: 0 / 0.5745 GB, free: 14.04 MB / 430.1 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.002102/0.6592, allocations: 1.051 MB / 0.5755 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6592, allocations: 12.03 kB / 0.5755 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.6596, allocations: 96.02 kB / 0.5756 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.6605, allocations: 0.527 MB / 0.5761 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.6606, allocations: 106.4 kB / 0.5762 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.6607, allocations: 48.38 kB / 0.5763 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.662, allocations: 0.8251 MB / 0.5771 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.662, allocations: 2.438 kB / 0.5771 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.6621, allocations: 22.03 kB / 0.5771 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.6622, allocations: 36.98 kB / 0.5771 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.6633, allocations: 0.6496 MB / 0.5778 GB, free: 10.6 MB / 430.1 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.004915/0.6683, allocations: 4.221 MB / 0.5819 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.6692, allocations: 415.9 kB / 0.5823 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.6695, allocations: 213.3 kB / 0.5825 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004999/0.67, allocations: 0.4935 MB / 0.583 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.67, allocations: 38.89 kB / 0.583 GB, free: 4.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.6701, allocations: 0 / 0.583 GB, free: 4.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003132/0.6732, allocations: 1.529 MB / 0.5845 GB, free: 3.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.6733, allocations: 132.5 kB / 0.5846 GB, free: 3.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.6739, allocations: 0.5732 MB / 0.5852 GB, free: 2.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.674, allocations: 37.7 kB / 0.5852 GB, free: 2.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.6743, allocations: 352.9 kB / 0.5856 GB, free: 2.145 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.6744, allocations: 159.9 kB / 0.5857 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.6746, allocations: 142.5 kB / 0.5859 GB, free: 1.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6748, allocations: 380.2 kB / 0.5862 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.6751, allocations: 225.8 kB / 0.5864 GB, free: 1.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.6757, allocations: 0.5204 MB / 0.5869 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6768, allocations: 0.7786 MB / 0.5877 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6768, allocations: 4 kB / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001828/0.6786, allocations: 0.9369 MB / 0.5886 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6787, allocations: 12 kB / 0.5886 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.6787, allocations: 8 kB / 0.5886 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.6799, allocations: 266.1 kB / 0.5889 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.6803, allocations: 119.8 kB / 0.589 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.6813, allocations: 0.8702 MB / 0.5899 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.6818, allocations: 24 kB / 0.5899 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/0.6819, allocations: 39.98 kB / 0.5899 GB, free: 13.38 MB / 446.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.6823, allocations: 245.5 kB / 0.5902 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.6824, allocations: 67.25 kB / 0.5902 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.6838, allocations: 0.7051 MB / 0.5909 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6838, allocations: 11.94 kB / 0.5909 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6838, allocations: 4.047 kB / 0.5909 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6838, allocations: 7.969 kB / 0.5909 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.686, allocations: 1.401 MB / 0.5923 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.686, allocations: 11.75 kB / 0.5923 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.687, allocations: 187.8 kB / 0.5925 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.6872, allocations: 61 kB / 0.5925 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.6873, allocations: 12 kB / 0.5926 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.6897, allocations: 2.988 MB / 0.5955 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6897, allocations: 0 / 0.5955 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.6914, allocations: 0.9944 MB / 0.5964 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.6917, allocations: 204.2 kB / 0.5966 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.6918, allocations: 18.41 kB / 0.5967 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.6922, allocations: 15.98 kB / 0.5967 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.6923, allocations: 43.67 kB / 0.5967 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.6924, allocations: 20 kB / 0.5967 GB, free: 5.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005141/0.6929, allocations: 419 kB / 0.5971 GB, free: 5.578 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6929, allocations: 0 / 0.5971 GB, free: 5.578 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000781/0.6937, allocations: 208 kB / 0.5973 GB, free: 5.375 MB / 446.1 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005196/0.6942, allocations: 240.6 kB / 0.5976 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.6954, allocations: 0.6014 MB / 0.5981 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.6955, allocations: 4 kB / 0.5981 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.6966, allocations: 496.2 kB / 0.5986 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6982, allocations: 373.3 kB / 0.599 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.7004, allocations: 1.392 MB / 0.6003 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.7009, allocations: 0.9385 MB / 0.6013 GB, free: 1.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006152/0.7015, allocations: 208.3 kB / 0.6015 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.7017, allocations: 63.42 kB / 0.6015 GB, free: 1.051 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.7017, allocations: 0 / 0.6015 GB, free: 1.051 MB / 446.1 MB Notification: Performance of Templates: time 0.02414/0.7259, allocations: 15.12 MB / 0.6163 GB, free: 2.152 MB / 462.1 MB 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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