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.001191/0.001191, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0009675/0.0009675, allocations: 92.22 kB / 281.6 MB, free: 5.266 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.244/0.244, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.62e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 61.91 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.721/1.896, allocations: 0.5445 GB / 1.039 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.896, allocations: 82.52 kB / 1.039 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5995/2.495, allocations: 105.8 MB / 1.143 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/2.496, allocations: 4 kB / 1.143 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.344e-05/2.496, allocations: 8 kB / 1.143 GB, free: 150.1 MB / 0.5105 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.004148/2.5, allocations: 1.013 MB / 1.144 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/2.5, allocations: 21.66 kB / 1.144 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/2.501, allocations: 79.66 kB / 1.144 GB, free: 149 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/2.501, allocations: 242.7 kB / 1.144 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/2.501, allocations: 8 kB / 1.144 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/2.501, allocations: 23.94 kB / 1.144 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007722/2.502, allocations: 0.5827 MB / 1.145 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/2.502, allocations: 352.5 kB / 1.145 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/2.502, allocations: 0 / 1.145 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/2.503, allocations: 3.984 kB / 1.145 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/2.503, allocations: 8 kB / 1.145 GB, free: 147.7 MB / 0.5105 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.04581/2.548, allocations: 27.75 MB / 1.172 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/2.549, allocations: 74.53 kB / 1.172 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/2.549, allocations: 32.84 kB / 1.172 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01435/2.563, allocations: 6.447 MB / 1.178 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/2.563, allocations: 95.3 kB / 1.178 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 4.639e-06/2.563, allocations: 0 / 1.178 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.002347/2.566, allocations: 418.2 kB / 1.179 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/2.566, allocations: 59.34 kB / 1.179 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/2.566, allocations: 188.4 kB / 1.179 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/2.566, allocations: 29.92 kB / 1.179 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/2.566, allocations: 238.5 kB / 1.179 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/2.566, allocations: 55.23 kB / 1.179 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/2.566, allocations: 0 / 1.179 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000134/2.566, allocations: 334.8 kB / 1.18 GB, free: 109 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/2.567, allocations: 49.12 kB / 1.18 GB, free: 109 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/2.567, allocations: 330.2 kB / 1.18 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/2.568, allocations: 196.3 kB / 1.18 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/2.568, allocations: 4 kB / 1.18 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001231/2.569, allocations: 466.5 kB / 1.181 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/2.569, allocations: 9 kB / 1.181 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/2.569, allocations: 12 kB / 1.181 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/2.569, allocations: 53.7 kB / 1.181 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/2.57, allocations: 95.83 kB / 1.181 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009984/2.571, allocations: 1.262 MB / 1.182 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/2.571, allocations: 16.19 kB / 1.182 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/2.571, allocations: 28 kB / 1.182 GB, free: 106.3 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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.0002198/2.571, allocations: 132.7 kB / 1.182 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/2.571, allocations: 15.81 kB / 1.182 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/2.572, allocations: 396.6 kB / 1.183 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/2.572, allocations: 7.984 kB / 1.183 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/2.572, allocations: 0 / 1.183 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/2.572, allocations: 0 / 1.183 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/2.572, allocations: 321.9 kB / 1.183 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/2.572, allocations: 0 / 1.183 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/2.573, allocations: 19.95 kB / 1.183 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.661e-05/2.573, allocations: 69.61 kB / 1.183 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/2.573, allocations: 0 / 1.183 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007715/2.573, allocations: 1.293 MB / 1.184 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/2.573, allocations: 7.938 kB / 1.184 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/2.574, allocations: 322.6 kB / 1.185 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/2.574, allocations: 112.7 kB / 1.185 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/2.574, allocations: 7.984 kB / 1.185 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/2.574, allocations: 8 kB / 1.185 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/2.574, allocations: 16 kB / 1.185 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/2.574, allocations: 4 kB / 1.185 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001154/2.574, allocations: 162 kB / 1.185 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.082e-06/2.574, allocations: 96 / 1.185 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001929/2.576, allocations: 387.5 kB / 1.185 GB, free: 102.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 10 * 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.001604/2.578, allocations: 0.7197 MB / 1.186 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004416/2.578, allocations: 271.1 kB / 1.186 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/2.578, allocations: 0.75 kB / 1.186 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/2.579, allocations: 159 kB / 1.186 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/2.579, allocations: 29.19 kB / 1.186 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.11/2.689, allocations: 74.26 MB / 1.259 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/2.689, allocations: 0.7646 MB / 1.26 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004666/2.69, allocations: 186.9 kB / 1.26 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/2.69, allocations: 31.44 kB / 1.26 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/2.69, allocations: 0 / 1.26 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.01953/2.709, allocations: 10.24 MB / 1.27 GB, free: 17.46 MB / 0.5105 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