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.001269/0.001269, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 76.41 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 62.46 MB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3086/0.4275, allocations: 44.08 MB / 0.5125 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.4342, allocations: 4.376 MB / 0.5168 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007711/0.435, allocations: 21.19 kB / 0.5168 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4361, allocations: 317.1 kB / 0.5171 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.4384, allocations: 0.8537 MB / 0.5179 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.4414, allocations: 0.8929 MB / 0.5188 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002961/0.4443, allocations: 1.799 MB / 0.5205 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000865/0.4452, allocations: 457.5 kB / 0.521 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1125/0.5578, allocations: 44.57 MB / 0.5645 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01903/0.5768, allocations: 7.964 MB / 0.5723 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.5773, allocations: 70.56 kB / 0.5724 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0267/0.604, allocations: 10.68 MB / 0.5828 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006927/0.6047, allocations: 264 kB / 0.583 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.6059, allocations: 389.5 kB / 0.5834 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.6085, allocations: 1.068 MB / 0.5845 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6086, allocations: 4 kB / 0.5845 GB, free: 7.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6086, allocations: 0 / 0.5845 GB, free: 7.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.392e-05/0.6086, allocations: 0 / 0.5845 GB, free: 7.941 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.003058/0.6117, allocations: 1.056 MB / 0.5855 GB, free: 6.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6117, allocations: 12.03 kB / 0.5855 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.6122, allocations: 88 kB / 0.5856 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.613, allocations: 0.4962 MB / 0.5861 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.6132, allocations: 111.9 kB / 0.5862 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.6133, allocations: 48.28 kB / 0.5862 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.6145, allocations: 0.8236 MB / 0.587 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6145, allocations: 7.969 kB / 0.587 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.6146, allocations: 30.5 kB / 0.5871 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.905e-05/0.6147, allocations: 40.92 kB / 0.5871 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/0.6157, allocations: 0.6439 MB / 0.5877 GB, free: 4.445 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.005208/0.6209, allocations: 4.214 MB / 0.5918 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.6218, allocations: 420.7 kB / 0.5922 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.6221, allocations: 209.4 kB / 0.5924 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/0.6227, allocations: 0.4977 MB / 0.5929 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.6227, allocations: 39.22 kB / 0.593 GB, free: 14.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.6227, allocations: 4 kB / 0.593 GB, free: 14.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003308/0.626, allocations: 1.524 MB / 0.5945 GB, free: 13.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.6261, allocations: 132.5 kB / 0.5946 GB, free: 12.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.6269, allocations: 0.5682 MB / 0.5951 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/0.6269, allocations: 37.7 kB / 0.5952 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.6272, allocations: 349.7 kB / 0.5955 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.6274, allocations: 173.6 kB / 0.5957 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.6276, allocations: 138.5 kB / 0.5958 GB, free: 11.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6278, allocations: 374.7 kB / 0.5962 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.6282, allocations: 225.9 kB / 0.5964 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.6287, allocations: 0.5201 MB / 0.5969 GB, free: 10.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6298, allocations: 0.7757 MB / 0.5976 GB, free: 9.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.6298, allocations: 10.38 kB / 0.5977 GB, free: 9.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001804/0.6316, allocations: 0.9374 MB / 0.5986 GB, free: 8.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6317, allocations: 8 kB / 0.5986 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6317, allocations: 8 kB / 0.5986 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.6328, allocations: 281.5 kB / 0.5989 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.6332, allocations: 119.8 kB / 0.599 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009591/0.6342, allocations: 0.8782 MB / 0.5998 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.6347, allocations: 20 kB / 0.5998 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.6348, allocations: 39.98 kB / 0.5999 GB, free: 7.188 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.0003379/0.6351, allocations: 249 kB / 0.6001 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.6353, allocations: 63.25 kB / 0.6002 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.6366, allocations: 0.7154 MB / 0.6009 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6366, allocations: 8 kB / 0.6009 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.6367, allocations: 0 / 0.6009 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6367, allocations: 3.984 kB / 0.6009 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.6388, allocations: 1.399 MB / 0.6023 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6388, allocations: 7.938 kB / 0.6023 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.6398, allocations: 195.9 kB / 0.6025 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.6401, allocations: 60.69 kB / 0.6025 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.6402, allocations: 15.88 kB / 0.6025 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.6426, allocations: 2.982 MB / 0.6054 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6426, allocations: 4.031 kB / 0.6054 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.6442, allocations: 0.9957 MB / 0.6064 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.6446, allocations: 196.4 kB / 0.6066 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6447, allocations: 16 kB / 0.6066 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.6451, allocations: 12 kB / 0.6066 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.6453, allocations: 47.89 kB / 0.6067 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.6453, allocations: 19.98 kB / 0.6067 GB, free: 15.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.6458, allocations: 419 kB / 0.6071 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6458, allocations: 0 / 0.6071 GB, free: 15.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008458/0.6467, allocations: 208 kB / 0.6073 GB, free: 15.18 MB / 462.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.0006353/0.6473, allocations: 233.7 kB / 0.6075 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.6488, allocations: 0.6749 MB / 0.6082 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6488, allocations: 3.938 kB / 0.6082 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.65, allocations: 466.8 kB / 0.6086 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6518, allocations: 375.3 kB / 0.609 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.6543, allocations: 1.473 MB / 0.6104 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.6548, allocations: 0.9307 MB / 0.6113 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.655, allocations: 71.42 kB / 0.6114 GB, free: 10.91 MB / 462.1 MB Notification: Performance of SimCode: time 4.4e-07/0.655, allocations: 0 / 0.6114 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Templates: time 0.02382/0.6788, allocations: 15.52 MB / 0.6266 GB, free: 11.46 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