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.00101/0.00101, allocations: 180 kB / 14.15 MB, free: 1.176 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.297/1.297, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009668/0.000967, allocations: 91.8 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1872/0.1872, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.799e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.366/1.502, allocations: 0.5452 GB / 1.047 GB, free: 93.08 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.503, allocations: 83.94 kB / 1.047 GB, free: 93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4793/1.982, allocations: 108.4 MB / 1.153 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/1.982, allocations: 1.375 kB / 1.153 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.581e-05/1.982, allocations: 2.75 kB / 1.153 GB, free: 165.4 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.003394/1.986, allocations: 1.022 MB / 1.154 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.986, allocations: 12.09 kB / 1.154 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/1.986, allocations: 78.8 kB / 1.154 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/1.987, allocations: 245.1 kB / 1.154 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/1.987, allocations: 24 kB / 1.154 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/1.987, allocations: 30.23 kB / 1.154 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/1.988, allocations: 492.6 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.988, allocations: 2.812 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/1.988, allocations: 11.41 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/1.988, allocations: 9.469 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/1.989, allocations: 0.6874 MB / 1.155 GB, free: 164.5 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.008096/1.997, allocations: 4.165 MB / 1.159 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/1.998, allocations: 234.4 kB / 1.16 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/1.998, allocations: 72.95 kB / 1.16 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07819/2.076, allocations: 43.18 MB / 1.202 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/2.077, allocations: 251.6 kB / 1.202 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/2.077, allocations: 0 / 1.202 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.002363/2.079, allocations: 0.7158 MB / 1.203 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/2.079, allocations: 265.1 kB / 1.203 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/2.079, allocations: 182.2 kB / 1.203 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/2.079, allocations: 29.64 kB / 1.203 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/2.079, allocations: 212.6 kB / 1.204 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/2.08, allocations: 89.2 kB / 1.204 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/2.08, allocations: 4 kB / 1.204 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/2.08, allocations: 329.4 kB / 1.204 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/2.08, allocations: 73.55 kB / 1.204 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/2.08, allocations: 334 kB / 1.204 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/2.08, allocations: 114.1 kB / 1.204 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/2.08, allocations: 7.625 kB / 1.204 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005745/2.081, allocations: 434.7 kB / 1.205 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/2.081, allocations: 17.94 kB / 1.205 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/2.081, allocations: 9.406 kB / 1.205 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/2.083, allocations: 318.7 kB / 1.205 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/2.083, allocations: 101.3 kB / 1.205 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004849/2.083, allocations: 1.222 MB / 1.206 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/2.084, allocations: 18.41 kB / 1.206 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/2.084, allocations: 32.31 kB / 1.207 GB, free: 137.9 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 () * 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.0001003/2.084, allocations: 143.6 kB / 1.207 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/2.084, allocations: 21.97 kB / 1.207 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008559/2.085, allocations: 0.7947 MB / 1.207 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/2.085, allocations: 3.969 kB / 1.207 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/2.085, allocations: 15.67 kB / 1.207 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/2.085, allocations: 3.969 kB / 1.207 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/2.085, allocations: 0.4964 MB / 1.208 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/2.085, allocations: 3.938 kB / 1.208 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/2.085, allocations: 35.06 kB / 1.208 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/2.086, allocations: 248.5 kB / 1.208 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/2.086, allocations: 7.875 kB / 1.208 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003743/2.087, allocations: 1.26 MB / 1.209 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.087, allocations: 0 / 1.209 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/2.087, allocations: 0.5435 MB / 1.21 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/2.087, allocations: 223.9 kB / 1.21 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/2.087, allocations: 7.938 kB / 1.21 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/2.088, allocations: 14.38 kB / 1.21 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/2.088, allocations: 18.72 kB / 1.21 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/2.088, allocations: 12.5 kB / 1.21 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002383/2.088, allocations: 289.9 kB / 1.211 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/2.088, allocations: 8 kB / 1.211 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001659/2.09, allocations: 412.7 kB / 1.211 GB, free: 134.4 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 () * 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.001632/2.091, allocations: 0.7014 MB / 1.212 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004727/2.092, allocations: 321.7 kB / 1.212 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.092, allocations: 0 / 1.212 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/2.092, allocations: 188 kB / 1.212 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/2.092, allocations: 77.23 kB / 1.212 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.245/5.337, allocations: 1.252 GB / 2.464 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/5.337, allocations: 0.8345 MB / 2.465 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003575/5.338, allocations: 125.7 kB / 2.465 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/5.338, allocations: 35.38 kB / 2.465 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/5.338, allocations: 0 / 2.465 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.01683/5.355, allocations: 12.59 MB / 2.478 GB, free: 37.44 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/jenkins/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