Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 179.2 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007505/0.0007509, allocations: 96.17 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3607/0.3607, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004583, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4262, allocations: 61.88 MB / 0.5107 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.55, allocations: 0.5454 GB / 1.056 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.55, allocations: 87.94 kB / 1.056 GB, free: 43.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4492/1.999, allocations: 106.4 MB / 1.16 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.816e-06/1.999, allocations: 0 / 1.16 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.999, allocations: 3.938 kB / 1.16 GB, free: 152.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003199/2.003, allocations: 1.021 MB / 1.161 GB, free: 152 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/2.003, allocations: 11.66 kB / 1.161 GB, free: 152 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005331/2.003, allocations: 84.89 kB / 1.161 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/2.004, allocations: 248 kB / 1.161 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/2.004, allocations: 20.19 kB / 1.161 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/2.004, allocations: 31.97 kB / 1.161 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/2.004, allocations: 473.8 kB / 1.162 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/2.004, allocations: 4.125 kB / 1.162 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/2.005, allocations: 19.59 kB / 1.162 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/2.005, allocations: 7.25 kB / 1.162 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/2.005, allocations: 0.6815 MB / 1.163 GB, free: 151.3 MB / 0.5261 GB 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.007283/2.013, allocations: 4.109 MB / 1.167 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/2.013, allocations: 221.8 kB / 1.167 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/2.013, allocations: 79.92 kB / 1.167 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07416/2.088, allocations: 42.5 MB / 1.208 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006425/2.088, allocations: 236.8 kB / 1.209 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 3.617e-06/2.088, allocations: 0 / 1.209 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.002998/2.091, allocations: 0.7346 MB / 1.209 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/2.091, allocations: 269.9 kB / 1.21 GB, free: 103 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/2.092, allocations: 206.9 kB / 1.21 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/2.092, allocations: 29.7 kB / 1.21 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/2.092, allocations: 207.3 kB / 1.21 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/2.092, allocations: 86.83 kB / 1.21 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/2.092, allocations: 8 kB / 1.21 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/2.092, allocations: 326.8 kB / 1.21 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/2.092, allocations: 65.08 kB / 1.211 GB, free: 102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/2.092, allocations: 346.9 kB / 1.211 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/2.093, allocations: 461.2 kB / 1.211 GB, free: 101 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/2.093, allocations: 4 kB / 1.211 GB, free: 101 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007187/2.094, allocations: 438.9 kB / 1.212 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/2.094, allocations: 8 kB / 1.212 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/2.094, allocations: 19.92 kB / 1.212 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/2.096, allocations: 301.9 kB / 1.212 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/2.096, allocations: 103.8 kB / 1.212 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000634/2.097, allocations: 1.219 MB / 1.213 GB, free: 98.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/2.097, allocations: 27.84 kB / 1.213 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/2.097, allocations: 31.98 kB / 1.213 GB, free: 98.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/2.097, allocations: 153.6 kB / 1.214 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/2.097, allocations: 19.81 kB / 1.214 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009523/2.098, allocations: 0.7999 MB / 1.214 GB, free: 97.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/2.098, allocations: 4.25 kB / 1.214 GB, free: 97.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/2.098, allocations: 7.938 kB / 1.214 GB, free: 97.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/2.098, allocations: 4 kB / 1.214 GB, free: 97.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/2.099, allocations: 0.4956 MB / 1.215 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.099, allocations: 0 / 1.215 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/2.099, allocations: 35.92 kB / 1.215 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/2.1, allocations: 245.3 kB / 1.215 GB, free: 96.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/2.1, allocations: 12 kB / 1.215 GB, free: 96.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004183/2.101, allocations: 1.262 MB / 1.216 GB, free: 95.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.101, allocations: 11.91 kB / 1.216 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/2.101, allocations: 459 kB / 1.217 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/2.101, allocations: 208.2 kB / 1.217 GB, free: 94.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/2.101, allocations: 11.94 kB / 1.217 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/2.101, allocations: 16.09 kB / 1.217 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/2.101, allocations: 27.84 kB / 1.217 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/2.101, allocations: 12 kB / 1.217 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002696/2.102, allocations: 294.9 kB / 1.217 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.102, allocations: 0 / 1.217 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001866/2.104, allocations: 411.5 kB / 1.218 GB, free: 94.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002581/2.106, allocations: 0.7101 MB / 1.218 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005347/2.107, allocations: 322 kB / 1.219 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.107, allocations: 1.625 kB / 1.219 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/2.107, allocations: 181.7 kB / 1.219 GB, free: 92.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/2.108, allocations: 85.83 kB / 1.219 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.967/5.075, allocations: 1.184 GB / 2.403 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/5.075, allocations: 0.8189 MB / 2.403 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004486/5.076, allocations: 124.1 kB / 2.404 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/5.076, allocations: 27.44 kB / 2.404 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/5.076, allocations: 0 / 2.404 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.01861/5.094, allocations: 12.92 MB / 2.416 GB, free: 56.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,eps_h_is,eps,eta,lambda,Pr,p,T,d,h,u,s,g,f,cp,cp2,cv,cv2,h_is,a,beta,beta2,kappa,kappa2,MM,h2,d2,err_T,err_d,err_u,s_is,err_h_is Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,eps,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.preferredMediumStates,medium.standardOrderComponents,p,s,s_is,state.T,state.d,state.h,state.p,time,u