Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 198.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.2 MB / 245 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009299/0.00093, allocations: 103.1 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3217/0.3217, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 8 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3502, allocations: 63.25 MB / 0.5192 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.438, allocations: 0.5463 GB / 1.065 GB, free: 35.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.438, allocations: 85.97 kB / 1.066 GB, free: 35.47 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4911/1.929, allocations: 108.7 MB / 1.172 GB, free: 162.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.304e-06/1.929, allocations: 0 / 1.172 GB, free: 162.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.929, allocations: 0 / 1.172 GB, free: 162.7 MB / 0.5417 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.003181/1.933, allocations: 1.029 MB / 1.173 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.933, allocations: 8.031 kB / 1.173 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/1.933, allocations: 79.66 kB / 1.173 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/1.934, allocations: 246.7 kB / 1.173 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/1.934, allocations: 16.56 kB / 1.173 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/1.934, allocations: 32 kB / 1.173 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/1.935, allocations: 480.5 kB / 1.174 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.935, allocations: 0 / 1.174 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/1.935, allocations: 16 kB / 1.174 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.935, allocations: 8 kB / 1.174 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/1.936, allocations: 0.6773 MB / 1.174 GB, free: 160 MB / 0.5417 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.008906/1.944, allocations: 4.151 MB / 1.178 GB, free: 155.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/1.945, allocations: 220 kB / 1.178 GB, free: 155.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0718/2.017, allocations: 42.5 MB / 1.22 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/2.017, allocations: 233.1 kB / 1.22 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/2.017, allocations: 0 / 1.22 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22): time 0.002146/2.02, allocations: 0.7293 MB / 1.221 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/2.02, allocations: 274 kB / 1.221 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/2.02, allocations: 182.7 kB / 1.221 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/2.02, allocations: 29.7 kB / 1.221 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/2.02, allocations: 215.2 kB / 1.222 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/2.02, allocations: 74.91 kB / 1.222 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/2.02, allocations: 8 kB / 1.222 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.037e-05/2.02, allocations: 334.8 kB / 1.222 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/2.02, allocations: 65.08 kB / 1.222 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/2.02, allocations: 342.9 kB / 1.222 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/2.02, allocations: 123.9 kB / 1.222 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/2.02, allocations: 0 / 1.222 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005034/2.021, allocations: 447.3 kB / 1.223 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/2.021, allocations: 10.97 kB / 1.223 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.021, allocations: 11.98 kB / 1.223 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/2.023, allocations: 301.4 kB / 1.223 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/2.023, allocations: 107.9 kB / 1.223 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003898/2.023, allocations: 1.215 MB / 1.224 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/2.024, allocations: 23.94 kB / 1.225 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/2.024, allocations: 36.17 kB / 1.225 GB, free: 104 MB / 0.5417 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.0001117/2.024, allocations: 153.6 kB / 1.225 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/2.024, allocations: 31.67 kB / 1.225 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/2.024, allocations: 0.8075 MB / 1.226 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/2.025, allocations: 4 kB / 1.226 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/2.025, allocations: 0 / 1.226 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/2.025, allocations: 7.984 kB / 1.226 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/2.025, allocations: 0.4892 MB / 1.226 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/2.025, allocations: 4 kB / 1.226 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/2.025, allocations: 35.92 kB / 1.226 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009931/2.026, allocations: 245.3 kB / 1.226 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/2.026, allocations: 8 kB / 1.226 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003378/2.026, allocations: 1.262 MB / 1.228 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/2.026, allocations: 4.031 kB / 1.228 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/2.027, allocations: 0.5479 MB / 1.228 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/2.027, allocations: 216.1 kB / 1.228 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/2.027, allocations: 16.03 kB / 1.228 GB, free: 99.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/2.027, allocations: 19.84 kB / 1.228 GB, free: 99.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/2.027, allocations: 19.92 kB / 1.228 GB, free: 99.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/2.027, allocations: 15.98 kB / 1.228 GB, free: 99.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000237/2.027, allocations: 298.9 kB / 1.229 GB, free: 99.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/2.027, allocations: 0 / 1.229 GB, free: 99.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001584/2.029, allocations: 399.6 kB / 1.229 GB, free: 99.24 MB / 0.5417 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.001406/2.03, allocations: 0.712 MB / 1.23 GB, free: 98.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004249/2.031, allocations: 321.7 kB / 1.23 GB, free: 98.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/2.031, allocations: 0 / 1.23 GB, free: 98.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/2.031, allocations: 177.5 kB / 1.23 GB, free: 98.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/2.031, allocations: 84.61 kB / 1.23 GB, free: 97.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.618/4.65, allocations: 1.253 GB / 2.483 GB, free: 37.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/4.65, allocations: 0.8287 MB / 2.484 GB, free: 36.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003329/4.65, allocations: 127.6 kB / 2.484 GB, free: 36.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/4.651, allocations: 27.44 kB / 2.484 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/4.651, allocations: 0 / 2.484 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.01505/4.666, allocations: 12.5 MB / 2.496 GB, free: 24.23 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_trunk_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