Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001232, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.88 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4061, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0352/0.4414, allocations: 26.93 MB / 0.558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.445, allocations: 2.959 MB / 0.5609 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.4451, allocations: 0 / 0.5609 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.4456, allocations: 51.61 kB / 0.5609 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.4475, allocations: 0.7305 MB / 0.5616 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.4479, allocations: 131 kB / 0.5618 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.4484, allocations: 378.1 kB / 0.5621 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.4485, allocations: 9.688 kB / 0.5621 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04108/0.4896, allocations: 15.5 MB / 0.5773 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.49, allocations: 143.5 kB / 0.5774 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.49, allocations: 12 kB / 0.5774 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008948/0.499, allocations: 3.437 MB / 0.5808 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4991, allocations: 51.75 kB / 0.5808 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.4993, allocations: 107.5 kB / 0.5809 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009338/0.5002, allocations: 474.7 kB / 0.5814 GB, free: 14.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5003, allocations: 0 / 0.5814 GB, free: 14.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5003, allocations: 0 / 0.5814 GB, free: 14.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5003, allocations: 0 / 0.5814 GB, free: 14.56 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001126/0.5014, allocations: 0.6009 MB / 0.582 GB, free: 13.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5015, allocations: 8.031 kB / 0.582 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.5016, allocations: 28.66 kB / 0.582 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.502, allocations: 224.1 kB / 0.5822 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.5021, allocations: 123.9 kB / 0.5823 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.5022, allocations: 28.12 kB / 0.5824 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.5027, allocations: 323.6 kB / 0.5827 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5027, allocations: 4 kB / 0.5827 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.5027, allocations: 8 kB / 0.5827 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.5028, allocations: 8 kB / 0.5827 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.5035, allocations: 0.739 MB / 0.5834 GB, free: 12.35 MB / 446.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.001377/0.5049, allocations: 1.3 MB / 0.5847 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.5053, allocations: 171.7 kB / 0.5848 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.5054, allocations: 81.48 kB / 0.5849 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002416/0.5079, allocations: 2.817 MB / 0.5877 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.5079, allocations: 34.56 kB / 0.5877 GB, free: 7.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.5079, allocations: 0 / 0.5877 GB, free: 7.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003087/0.5082, allocations: 117.4 kB / 0.5878 GB, free: 7.156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.5083, allocations: 55.39 kB / 0.5879 GB, free: 7.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.5085, allocations: 219.8 kB / 0.5881 GB, free: 6.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.5085, allocations: 33.69 kB / 0.5881 GB, free: 6.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5086, allocations: 218.6 kB / 0.5883 GB, free: 6.605 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.5087, allocations: 47.44 kB / 0.5884 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.5088, allocations: 86.03 kB / 0.5884 GB, free: 6.469 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5089, allocations: 326.8 kB / 0.5888 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.509, allocations: 48.78 kB / 0.5888 GB, free: 6.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.5093, allocations: 343.2 kB / 0.5891 GB, free: 5.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.5097, allocations: 444.6 kB / 0.5896 GB, free: 5.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5097, allocations: 4 kB / 0.5896 GB, free: 5.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005219/0.5102, allocations: 381.7 kB / 0.5899 GB, free: 4.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5102, allocations: 11.94 kB / 0.5899 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5103, allocations: 12 kB / 0.5899 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.111e-05/0.5103, allocations: 24 kB / 0.59 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.5106, allocations: 95.83 kB / 0.5901 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.5106, allocations: 19.92 kB / 0.5901 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.5108, allocations: 51.53 kB / 0.5901 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.5108, allocations: 28 kB / 0.5902 GB, free: 4.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.511, allocations: 153.5 kB / 0.5903 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.511, allocations: 19.75 kB / 0.5903 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.5113, allocations: 144.9 kB / 0.5905 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.5113, allocations: 4 kB / 0.5905 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5114, allocations: 0 / 0.5905 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5114, allocations: 3.938 kB / 0.5905 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.5119, allocations: 412.8 kB / 0.5909 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5119, allocations: 0 / 0.5909 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.5119, allocations: 15.98 kB / 0.5909 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.512, allocations: 0 / 0.5909 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.512, allocations: 4 kB / 0.5909 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.512, allocations: 7.938 kB / 0.5909 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.512, allocations: 0 / 0.5909 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.5122, allocations: 217.9 kB / 0.5911 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.5123, allocations: 92.92 kB / 0.5912 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.5123, allocations: 7.984 kB / 0.5912 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.5125, allocations: 4 kB / 0.5912 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.5125, allocations: 8 kB / 0.5912 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5125, allocations: 7.984 kB / 0.5912 GB, free: 3.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.5127, allocations: 156.5 kB / 0.5914 GB, free: 3.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5127, allocations: 0 / 0.5914 GB, free: 3.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005015/0.5132, allocations: 95.84 kB / 0.5914 GB, free: 2.953 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002944/0.5135, allocations: 159.1 kB / 0.5916 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.5138, allocations: 178.1 kB / 0.5918 GB, free: 2.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5138, allocations: 4 kB / 0.5918 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.5139, allocations: 19.92 kB / 0.5918 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.5143, allocations: 55.28 kB / 0.5918 GB, free: 2.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.5154, allocations: 0.5636 MB / 0.5924 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5157, allocations: 0.7245 MB / 0.5931 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.149e-05/0.5157, allocations: 35.42 kB / 0.5931 GB, free: 1.152 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5157, allocations: 0 / 0.5931 GB, free: 1.152 MB / 446.1 MB Notification: Performance of Templates: time 0.006333/0.5221, allocations: 3.352 MB / 0.5964 GB, free: 13.8 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches