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.001786/0.001786, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002165/0.002165, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 82.52 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1331, allocations: 62.45 MB / 480.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2877/0.4208, allocations: 44.09 MB / 0.5126 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.4273, allocations: 4.373 MB / 0.5168 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.428, allocations: 20.94 kB / 0.5169 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.429, allocations: 316.8 kB / 0.5172 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.4311, allocations: 0.8553 MB / 0.518 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.4336, allocations: 0.8965 MB / 0.5189 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.4361, allocations: 1.793 MB / 0.5206 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/0.4369, allocations: 461.7 kB / 0.5211 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1068/0.5437, allocations: 44.58 MB / 0.5646 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02171/0.5655, allocations: 7.971 MB / 0.5724 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.5659, allocations: 63.75 kB / 0.5724 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03403/0.6, allocations: 10.67 MB / 0.5829 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007951/0.6008, allocations: 262.2 kB / 0.5831 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.6022, allocations: 391.8 kB / 0.5835 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003292/0.6056, allocations: 1.07 MB / 0.5845 GB, free: 7.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6056, allocations: 0 / 0.5845 GB, free: 7.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6056, allocations: 0 / 0.5845 GB, free: 7.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.6057, allocations: 0 / 0.5845 GB, free: 7.898 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.003469/0.6091, allocations: 1.063 MB / 0.5856 GB, free: 6.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.6092, allocations: 12.03 kB / 0.5856 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.6099, allocations: 91.98 kB / 0.5857 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6111, allocations: 0.4964 MB / 0.5861 GB, free: 6.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.6113, allocations: 99.23 kB / 0.5862 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.6115, allocations: 54.92 kB / 0.5863 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.6133, allocations: 0.8223 MB / 0.5871 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.6134, allocations: 4 kB / 0.5871 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.6135, allocations: 24.7 kB / 0.5871 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-05/0.6136, allocations: 36.98 kB / 0.5872 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.6153, allocations: 0.6478 MB / 0.5878 GB, free: 4.406 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.007723/0.623, allocations: 4.215 MB / 0.5919 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.6245, allocations: 427.5 kB / 0.5923 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.6251, allocations: 205.4 kB / 0.5925 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008098/0.6259, allocations: 0.5018 MB / 0.593 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.626, allocations: 47.16 kB / 0.593 GB, free: 14.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.587e-06/0.626, allocations: 0 / 0.593 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.005036/0.6311, allocations: 1.519 MB / 0.5945 GB, free: 13.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.6312, allocations: 136.5 kB / 0.5947 GB, free: 12.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.6324, allocations: 0.5654 MB / 0.5952 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/0.6325, allocations: 33.7 kB / 0.5952 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.6329, allocations: 361.9 kB / 0.5956 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.6331, allocations: 166.8 kB / 0.5958 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.6335, allocations: 138.5 kB / 0.5959 GB, free: 11.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002678/0.6337, allocations: 374.7 kB / 0.5962 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.6344, allocations: 225.9 kB / 0.5965 GB, free: 11.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009507/0.6353, allocations: 0.5279 MB / 0.597 GB, free: 10.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.6369, allocations: 0.7757 MB / 0.5977 GB, free: 9.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.6369, allocations: 4 kB / 0.5977 GB, free: 9.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002815/0.6398, allocations: 0.9372 MB / 0.5986 GB, free: 8.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.6398, allocations: 8 kB / 0.5987 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.6398, allocations: 8 kB / 0.5987 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.6414, allocations: 273.8 kB / 0.5989 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/0.6421, allocations: 124.9 kB / 0.599 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.6435, allocations: 0.8649 MB / 0.5999 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008109/0.6444, allocations: 24 kB / 0.5999 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.6445, allocations: 40.05 kB / 0.6 GB, free: 7.152 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.0005244/0.645, allocations: 249.5 kB / 0.6002 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.6452, allocations: 63.25 kB / 0.6002 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.6467, allocations: 0.7099 MB / 0.6009 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.6468, allocations: 8 kB / 0.6009 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6468, allocations: 3.938 kB / 0.601 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.6468, allocations: 3.984 kB / 0.601 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.6495, allocations: 1.402 MB / 0.6023 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.6495, allocations: 4.812 kB / 0.6023 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.6509, allocations: 192 kB / 0.6025 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.6513, allocations: 64.62 kB / 0.6026 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.6514, allocations: 16 kB / 0.6026 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.6549, allocations: 2.983 MB / 0.6055 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.655, allocations: 8.844 kB / 0.6055 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.6574, allocations: 0.9918 MB / 0.6065 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.658, allocations: 200.2 kB / 0.6067 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6581, allocations: 12 kB / 0.6067 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.6587, allocations: 20.05 kB / 0.6067 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6589, allocations: 39.89 kB / 0.6067 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.659, allocations: 16 kB / 0.6068 GB, free: 15.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008147/0.6598, allocations: 423 kB / 0.6072 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6598, allocations: 0 / 0.6072 GB, free: 15.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001325/0.6611, allocations: 204 kB / 0.6074 GB, free: 15.14 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.0007509/0.6619, allocations: 242.1 kB / 0.6076 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.6642, allocations: 0.6705 MB / 0.6082 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6642, allocations: 0 / 0.6082 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.666, allocations: 471.3 kB / 0.6087 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.6688, allocations: 378.5 kB / 0.609 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.6725, allocations: 1.471 MB / 0.6105 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/0.6734, allocations: 0.9307 MB / 0.6114 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.6737, allocations: 67.42 kB / 0.6115 GB, free: 10.87 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6737, allocations: 0 / 0.6115 GB, free: 10.87 MB / 462.1 MB Notification: Performance of Templates: time 0.0289/0.7026, allocations: 15.56 MB / 0.6267 GB, free: 11.39 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