Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008065, allocations: 97.47 kB / 17 MB, free: 6.418 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.0008032/0.0008033, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.532/1.532, allocations: 223.2 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 11.94 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1299, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02789/0.1578, allocations: 24.79 MB / 496.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.1612, allocations: 2.743 MB / 499.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1613, allocations: 4 kB / 499.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1616, allocations: 47.66 kB / 499.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.1631, allocations: 0.5711 MB / 499.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1634, allocations: 127.6 kB / 499.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.1639, allocations: 390.1 kB / 0.4885 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.396e-05/0.164, allocations: 13.69 kB / 0.4885 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3084/0.4724, allocations: 22.44 MB / 0.5105 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.4729, allocations: 151.1 kB / 0.5106 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.4729, allocations: 6.406 kB / 0.5106 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/0.4869, allocations: 5.594 MB / 0.5161 GB, free: 26.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.4871, allocations: 41.84 kB / 0.5161 GB, free: 26.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.4873, allocations: 63.73 kB / 0.5162 GB, free: 26.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008433/0.4882, allocations: 287.7 kB / 0.5164 GB, free: 26.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4882, allocations: 0 / 0.5164 GB, free: 26.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4882, allocations: 0 / 0.5164 GB, free: 26.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4882, allocations: 2.531 kB / 0.5164 GB, free: 26.54 MB / 382.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.001219/0.4894, allocations: 0.5596 MB / 0.517 GB, free: 26.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4895, allocations: 7.938 kB / 0.517 GB, free: 26.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.4897, allocations: 25.53 kB / 0.517 GB, free: 26.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.4899, allocations: 224.2 kB / 0.5172 GB, free: 25.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.4901, allocations: 123.5 kB / 0.5174 GB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.4901, allocations: 24.41 kB / 0.5174 GB, free: 25.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.4907, allocations: 319.5 kB / 0.5177 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4907, allocations: 0 / 0.5177 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.4907, allocations: 15.64 kB / 0.5177 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.4908, allocations: 10.56 kB / 0.5177 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.4917, allocations: 0.7318 MB / 0.5184 GB, free: 25.71 MB / 382.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.001307/0.493, allocations: 1.303 MB / 0.5197 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.4933, allocations: 157.7 kB / 0.5198 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.4935, allocations: 88.77 kB / 0.5199 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/0.4954, allocations: 2.807 MB / 0.5227 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.4955, allocations: 42.08 kB / 0.5227 GB, free: 21.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.4955, allocations: 0 / 0.5227 GB, free: 21.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002815/0.4958, allocations: 114.9 kB / 0.5228 GB, free: 21.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4958, allocations: 58.09 kB / 0.5229 GB, free: 21.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.496, allocations: 227.9 kB / 0.5231 GB, free: 21.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.496, allocations: 27.23 kB / 0.5231 GB, free: 21.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4961, allocations: 218.2 kB / 0.5233 GB, free: 21.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.4962, allocations: 42.66 kB / 0.5234 GB, free: 21.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.4962, allocations: 7.812 kB / 0.5234 GB, free: 21.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.4962, allocations: 328.3 kB / 0.5237 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.4963, allocations: 44.27 kB / 0.5237 GB, free: 20.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.4965, allocations: 348.1 kB / 0.5241 GB, free: 20.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.4966, allocations: 96.59 kB / 0.5242 GB, free: 20.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.4966, allocations: 3.5 kB / 0.5242 GB, free: 20.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004709/0.4971, allocations: 379.4 kB / 0.5245 GB, free: 20.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4971, allocations: 9.656 kB / 0.5245 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.4972, allocations: 19.23 kB / 0.5245 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.4972, allocations: 17.56 kB / 0.5246 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.4974, allocations: 98.61 kB / 0.5247 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.4975, allocations: 26.16 kB / 0.5247 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.4977, allocations: 64.03 kB / 0.5247 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.4977, allocations: 27.69 kB / 0.5248 GB, free: 20.49 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.717e-05/0.4978, allocations: 145.3 kB / 0.5249 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.4979, allocations: 17.28 kB / 0.5249 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.4982, allocations: 154.4 kB / 0.5251 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4982, allocations: 4.266 kB / 0.5251 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4982, allocations: 0 / 0.5251 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4982, allocations: 0.6094 kB / 0.5251 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.4986, allocations: 410 kB / 0.5255 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4986, allocations: 0.6562 kB / 0.5255 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.4987, allocations: 12.53 kB / 0.5255 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4987, allocations: 4.078 kB / 0.5255 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4987, allocations: 3 kB / 0.5255 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.4987, allocations: 8.375 kB / 0.5255 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4987, allocations: 0 / 0.5255 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.4989, allocations: 205.3 kB / 0.5257 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.4989, allocations: 112.5 kB / 0.5258 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.499, allocations: 8.641 kB / 0.5258 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4991, allocations: 4.703 kB / 0.5258 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.4992, allocations: 9.641 kB / 0.5258 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4992, allocations: 7.375 kB / 0.5258 GB, free: 19.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.761e-05/0.4993, allocations: 158.3 kB / 0.526 GB, free: 19.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4993, allocations: 0 / 0.526 GB, free: 19.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.4998, allocations: 91.94 kB / 0.5261 GB, free: 19.61 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002002/0.5, allocations: 150.4 kB / 0.5262 GB, free: 19.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.5002, allocations: 171 kB / 0.5264 GB, free: 19.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5002, allocations: 0 / 0.5264 GB, free: 19.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/0.5003, allocations: 21.61 kB / 0.5264 GB, free: 19.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.5007, allocations: 48.31 kB / 0.5264 GB, free: 19.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.5016, allocations: 0.6302 MB / 0.5271 GB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.5017, allocations: 0.7236 MB / 0.5278 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000222/0.502, allocations: 57.47 kB / 0.5278 GB, free: 18.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.502, allocations: 31.59 kB / 0.5278 GB, free: 18.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.502, allocations: 0 / 0.5278 GB, free: 18.47 MB / 382.1 MB Notification: Performance of Templates: time 0.005909/0.5079, allocations: 2.846 MB / 0.5306 GB, free: 18.17 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches