Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009396/0.0009397, allocations: 96.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 203.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1874/0.1874, allocations: 46.18 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003092, allocations: 4 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 63.57 MB / 483.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2648/0.3756, allocations: 45.48 MB / 0.5168 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006105/0.3818, allocations: 4.497 MB / 0.5212 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.3828, allocations: 22.38 kB / 0.5212 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3839, allocations: 273.3 kB / 0.5215 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.3864, allocations: 0.8091 MB / 0.5223 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.3888, allocations: 0.7997 MB / 0.5231 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.3923, allocations: 2.681 MB / 0.5257 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007255/0.393, allocations: 398.7 kB / 0.5261 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08558/0.4786, allocations: 43.38 MB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.4947, allocations: 7.972 MB / 0.5762 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.495, allocations: 32 kB / 0.5762 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02256/0.5175, allocations: 10.65 MB / 0.5866 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005466/0.5181, allocations: 233.9 kB / 0.5869 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007097/0.5189, allocations: 387.8 kB / 0.5872 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.52, allocations: 0.7863 MB / 0.588 GB, free: 8.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.52, allocations: 0 / 0.588 GB, free: 8.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.52, allocations: 0 / 0.588 GB, free: 8.789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.52, allocations: 0 / 0.588 GB, free: 8.789 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.001907/0.5219, allocations: 0.9141 MB / 0.5889 GB, free: 7.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.522, allocations: 12.03 kB / 0.5889 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.5223, allocations: 91.98 kB / 0.589 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.523, allocations: 0.5012 MB / 0.5895 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.5231, allocations: 110 kB / 0.5896 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.842e-05/0.5232, allocations: 52.28 kB / 0.5896 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.5245, allocations: 0.8196 MB / 0.5904 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5245, allocations: 0 / 0.5904 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.5246, allocations: 31.69 kB / 0.5905 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-05/0.5247, allocations: 40.98 kB / 0.5905 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.5257, allocations: 0.6439 MB / 0.5911 GB, free: 5.434 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.00461/0.5303, allocations: 4.218 MB / 0.5953 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.5312, allocations: 408 kB / 0.5956 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.5315, allocations: 209.4 kB / 0.5958 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.532, allocations: 0.5027 MB / 0.5963 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.532, allocations: 34.89 kB / 0.5964 GB, free: 15.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.5321, allocations: 0 / 0.5964 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003124/0.5352, allocations: 1.528 MB / 0.5979 GB, free: 14.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.5353, allocations: 148.5 kB / 0.598 GB, free: 13.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/0.5359, allocations: 0.5616 MB / 0.5986 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.536, allocations: 33.7 kB / 0.5986 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.5363, allocations: 358.7 kB / 0.5989 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.5364, allocations: 164.5 kB / 0.5991 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.5365, allocations: 61.69 kB / 0.5991 GB, free: 12.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5366, allocations: 374.7 kB / 0.5995 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.537, allocations: 225.9 kB / 0.5997 GB, free: 12.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.5376, allocations: 0.5318 MB / 0.6002 GB, free: 11.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.5386, allocations: 0.7679 MB / 0.601 GB, free: 10.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.5386, allocations: 4 kB / 0.601 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001767/0.5404, allocations: 0.9407 MB / 0.6019 GB, free: 9.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5404, allocations: 8 kB / 0.6019 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5404, allocations: 12 kB / 0.6019 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.5416, allocations: 285.3 kB / 0.6022 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.542, allocations: 119.8 kB / 0.6023 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009419/0.5429, allocations: 0.8614 MB / 0.6032 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.5435, allocations: 51.88 kB / 0.6032 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.5436, allocations: 40 kB / 0.6032 GB, free: 8.227 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.0003624/0.5439, allocations: 241.5 kB / 0.6035 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5441, allocations: 63.25 kB / 0.6035 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5454, allocations: 0.7167 MB / 0.6042 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5454, allocations: 7.984 kB / 0.6042 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5454, allocations: 4 kB / 0.6042 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5454, allocations: 4 kB / 0.6043 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.5475, allocations: 1.398 MB / 0.6056 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5475, allocations: 11.88 kB / 0.6056 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000967/0.5485, allocations: 187.8 kB / 0.6058 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.5488, allocations: 65 kB / 0.6059 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.5489, allocations: 12 kB / 0.6059 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.5511, allocations: 2.797 MB / 0.6086 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5511, allocations: 7.938 kB / 0.6086 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.5527, allocations: 1.003 MB / 0.6096 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.553, allocations: 204.1 kB / 0.6098 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.5531, allocations: 15.98 kB / 0.6098 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.5535, allocations: 28.05 kB / 0.6098 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.5536, allocations: 35.89 kB / 0.6099 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.5536, allocations: 27.98 kB / 0.6099 GB, free: 1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004782/0.5541, allocations: 419 kB / 0.6103 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5541, allocations: 0 / 0.6103 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007564/0.5549, allocations: 211.9 kB / 0.6105 GB, free: 392 kB / 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.000482/0.5554, allocations: 234.2 kB / 0.6107 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.5565, allocations: 0.6048 MB / 0.6113 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5566, allocations: 0 / 0.6113 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.5576, allocations: 478.7 kB / 0.6118 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.5595, allocations: 357.3 kB / 0.6121 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.5618, allocations: 1.772 MB / 0.6138 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.5623, allocations: 0.9345 MB / 0.6148 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.5625, allocations: 67.42 kB / 0.6148 GB, free: 11.88 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5625, allocations: 0 / 0.6148 GB, free: 11.88 MB / 462.1 MB Notification: Performance of Templates: time 0.02074/0.5833, allocations: 15.44 MB / 0.6299 GB, free: 12.53 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p