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.001199/0.001199, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001147/0.001147, allocations: 194 kB / 18.12 MB, free: 5.363 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.335/1.335, allocations: 222.9 MB / 241.8 MB, free: 15.59 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.2112/0.2112, allocations: 44.18 MB / 336.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.14 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.134, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05308/0.1871, allocations: 46.32 MB / 0.5028 GB, free: 388 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2719/0.4591, allocations: 4.528 MB / 0.5072 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.4602, allocations: 26.62 kB / 0.5072 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009611/0.4612, allocations: 273.9 kB / 0.5075 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.4635, allocations: 0.8071 MB / 0.5083 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.4661, allocations: 0.8074 MB / 0.5091 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.4695, allocations: 2.663 MB / 0.5117 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007353/0.4703, allocations: 401.7 kB / 0.5121 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1048/0.575, allocations: 43.35 MB / 0.5544 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0214/0.5965, allocations: 7.972 MB / 0.5622 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.5969, allocations: 32 kB / 0.5622 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02908/0.626, allocations: 10.64 MB / 0.5726 GB, free: 104 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005928/0.6266, allocations: 235.3 kB / 0.5728 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009544/0.6276, allocations: 365.2 kB / 0.5732 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.6295, allocations: 1.048 MB / 0.5742 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.6296, allocations: 4 kB / 0.5742 GB, free: 14.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.6296, allocations: 0 / 0.5742 GB, free: 14.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.6296, allocations: 0 / 0.5742 GB, free: 14.51 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.002409/0.632, allocations: 1.052 MB / 0.5752 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6321, allocations: 11.97 kB / 0.5752 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.6325, allocations: 95.98 kB / 0.5753 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/0.6332, allocations: 0.5053 MB / 0.5758 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6333, allocations: 101 kB / 0.5759 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.6334, allocations: 52.28 kB / 0.576 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6347, allocations: 0.8199 MB / 0.5768 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.6347, allocations: 7.938 kB / 0.5768 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.829e-05/0.6348, allocations: 26.89 kB / 0.5768 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.6349, allocations: 40.92 kB / 0.5768 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.636, allocations: 0.6439 MB / 0.5775 GB, free: 11.04 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.004651/0.6406, allocations: 4.22 MB / 0.5816 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/0.6416, allocations: 420.6 kB / 0.582 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.6419, allocations: 201.4 kB / 0.5822 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005385/0.6425, allocations: 0.5067 MB / 0.5827 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.6425, allocations: 42.88 kB / 0.5827 GB, free: 5.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.684e-06/0.6426, allocations: 0 / 0.5827 GB, free: 5.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003266/0.6458, allocations: 1.521 MB / 0.5842 GB, free: 3.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.6459, allocations: 140.5 kB / 0.5843 GB, free: 3.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/0.6466, allocations: 0.5654 MB / 0.5849 GB, free: 2.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.6466, allocations: 33.7 kB / 0.5849 GB, free: 2.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.6469, allocations: 353.8 kB / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.647, allocations: 159.5 kB / 0.5854 GB, free: 2.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.6473, allocations: 146.5 kB / 0.5855 GB, free: 2.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6474, allocations: 378.7 kB / 0.5859 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.6478, allocations: 217.9 kB / 0.5861 GB, free: 1.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.6485, allocations: 0.5279 MB / 0.5866 GB, free: 1.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009869/0.6495, allocations: 0.7719 MB / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6495, allocations: 4 kB / 0.5874 GB, free: 128 kB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001765/0.6512, allocations: 0.9452 MB / 0.5883 GB, free: 15.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6513, allocations: 8 kB / 0.5883 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.6513, allocations: 12 kB / 0.5883 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.6524, allocations: 268 kB / 0.5886 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.6528, allocations: 127.8 kB / 0.5887 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/0.6538, allocations: 0.8681 MB / 0.5896 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.6543, allocations: 43.92 kB / 0.5896 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.6544, allocations: 39.98 kB / 0.5896 GB, free: 13.79 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.0003097/0.6547, allocations: 242.1 kB / 0.5899 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.6549, allocations: 71.16 kB / 0.5899 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.6562, allocations: 0.7182 MB / 0.5906 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6562, allocations: 4 kB / 0.5906 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6562, allocations: 4 kB / 0.5906 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6562, allocations: 0 / 0.5906 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.6584, allocations: 1.399 MB / 0.592 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.6584, allocations: 7.938 kB / 0.592 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.6594, allocations: 192 kB / 0.5922 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/0.6597, allocations: 56.73 kB / 0.5923 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.6597, allocations: 15.98 kB / 0.5923 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.6621, allocations: 2.783 MB / 0.595 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6621, allocations: 11.09 kB / 0.595 GB, free: 7.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.6637, allocations: 0.9917 MB / 0.596 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.664, allocations: 204.1 kB / 0.5962 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.6641, allocations: 20.06 kB / 0.5962 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.6645, allocations: 19.98 kB / 0.5962 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.6646, allocations: 39.89 kB / 0.5962 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.6647, allocations: 23.98 kB / 0.5963 GB, free: 6.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.6652, allocations: 423 kB / 0.5967 GB, free: 6.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6652, allocations: 0 / 0.5967 GB, free: 6.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008267/0.666, allocations: 211.9 kB / 0.5969 GB, free: 5.988 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.0005473/0.6666, allocations: 218.1 kB / 0.5971 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.6678, allocations: 0.6086 MB / 0.5977 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6678, allocations: 0 / 0.5977 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.6691, allocations: 491 kB / 0.5981 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6709, allocations: 355.8 kB / 0.5985 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.6738, allocations: 1.637 MB / 0.6001 GB, free: 2.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.6744, allocations: 0.9424 MB / 0.601 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008166/0.6753, allocations: 210.3 kB / 0.6012 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.6754, allocations: 63.36 kB / 0.6013 GB, free: 1.461 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6754, allocations: 0 / 0.6013 GB, free: 1.461 MB / 446.1 MB Notification: Performance of Templates: time 0.027/0.7025, allocations: 14.51 MB / 0.6154 GB, free: 3.184 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/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