Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002311, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 87.08 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3315/0.3315, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.945e-05, allocations: 0 / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4462, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.852/2.298, allocations: 0.6451 GB / 1.111 GB, free: 90.23 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/2.298, allocations: 78.89 kB / 1.111 GB, free: 90.19 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.6646/2.963, allocations: 108.7 MB / 1.217 GB, free: 142.2 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.643e-06/2.963, allocations: 0 / 1.217 GB, free: 142.2 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.683e-05/2.963, allocations: 4.219 kB / 1.217 GB, free: 142.2 MB / 0.4952 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.00404/2.967, allocations: 1.036 MB / 1.218 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/2.967, allocations: 12.53 kB / 1.218 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/2.968, allocations: 78.7 kB / 1.218 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/2.969, allocations: 246.1 kB / 1.218 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/2.969, allocations: 8.844 kB / 1.219 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/2.969, allocations: 14.5 kB / 1.219 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/2.97, allocations: 0.5802 MB / 1.219 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/2.97, allocations: 357.6 kB / 1.219 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/2.97, allocations: 1.312 kB / 1.219 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/2.971, allocations: 1.281 kB / 1.219 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/2.971, allocations: 6.812 kB / 1.219 GB, free: 141.3 MB / 0.4952 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.08757/3.058, allocations: 27.76 MB / 1.247 GB, free: 127.6 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/3.058, allocations: 83.61 kB / 1.247 GB, free: 127.6 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/3.058, allocations: 29.05 kB / 1.247 GB, free: 127.6 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02764/3.086, allocations: 6.445 MB / 1.253 GB, free: 124.9 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/3.086, allocations: 87.97 kB / 1.253 GB, free: 124.8 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/3.086, allocations: 4 kB / 1.253 GB, free: 124.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=14): time 0.002533/3.089, allocations: 425.3 kB / 1.253 GB, free: 124.7 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/3.089, allocations: 53.53 kB / 1.253 GB, free: 124.7 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/3.089, allocations: 190.5 kB / 1.254 GB, free: 124.6 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/3.089, allocations: 32.92 kB / 1.254 GB, free: 124.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/3.089, allocations: 301.5 kB / 1.254 GB, free: 124.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-05/3.089, allocations: 52.23 kB / 1.254 GB, free: 124.2 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/3.09, allocations: 0 / 1.254 GB, free: 124.2 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/3.09, allocations: 332.7 kB / 1.254 GB, free: 123.9 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/3.09, allocations: 52.47 kB / 1.254 GB, free: 123.9 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/3.09, allocations: 329.7 kB / 1.255 GB, free: 123.6 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/3.091, allocations: 195.3 kB / 1.255 GB, free: 123.6 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/3.091, allocations: 3.25 kB / 1.255 GB, free: 123.6 MB / 0.4952 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00195/3.093, allocations: 464.3 kB / 1.255 GB, free: 123.5 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/3.093, allocations: 10.75 kB / 1.255 GB, free: 123.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/3.093, allocations: 7.219 kB / 1.255 GB, free: 123.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/3.094, allocations: 48.67 kB / 1.255 GB, free: 123.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/3.094, allocations: 99.92 kB / 1.256 GB, free: 123.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/3.095, allocations: 1.262 MB / 1.257 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/3.096, allocations: 12.22 kB / 1.257 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/3.096, allocations: 28.72 kB / 1.257 GB, free: 122.3 MB / 0.4952 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.0002124/3.096, allocations: 136.7 kB / 1.257 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/3.096, allocations: 23.64 kB / 1.257 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/3.097, allocations: 389.7 kB / 1.257 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/3.097, allocations: 6.938 kB / 1.257 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/3.097, allocations: 3.875 kB / 1.257 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/3.097, allocations: 11.83 kB / 1.257 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/3.098, allocations: 315.8 kB / 1.258 GB, free: 121.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/3.098, allocations: 0 / 1.258 GB, free: 121.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/3.098, allocations: 16.8 kB / 1.258 GB, free: 121.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/3.098, allocations: 58.52 kB / 1.258 GB, free: 121.9 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/3.098, allocations: 4 kB / 1.258 GB, free: 121.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009028/3.099, allocations: 1.296 MB / 1.259 GB, free: 120.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/3.099, allocations: 3.906 kB / 1.259 GB, free: 120.7 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/3.1, allocations: 327.4 kB / 1.259 GB, free: 120.6 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/3.1, allocations: 118.8 kB / 1.259 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/3.1, allocations: 3.938 kB / 1.259 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/3.101, allocations: 3.906 kB / 1.259 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/3.101, allocations: 11.52 kB / 1.259 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/3.101, allocations: 11.41 kB / 1.259 GB, free: 120.5 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.000176/3.101, allocations: 155.5 kB / 1.26 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/3.101, allocations: 4 kB / 1.26 GB, free: 120.4 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002119/3.103, allocations: 387.6 kB / 1.26 GB, free: 120.3 MB / 0.4952 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.003119/3.106, allocations: 0.72 MB / 1.261 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0007565/3.107, allocations: 274.5 kB / 1.261 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/3.107, allocations: 3.938 kB / 1.261 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/3.107, allocations: 148 kB / 1.261 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/3.108, allocations: 40.94 kB / 1.261 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2054/3.313, allocations: 76.94 MB / 1.336 GB, free: 68.12 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/3.314, allocations: 0.7562 MB / 1.337 GB, free: 67.34 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/3.314, allocations: 35.42 kB / 1.337 GB, free: 67.3 MB / 0.4952 GB Notification: Performance of SimCode: time 1.423e-06/3.314, allocations: 0 / 1.337 GB, free: 67.3 MB / 0.4952 GB Notification: Performance of Templates: time 0.02189/3.336, allocations: 10.87 MB / 1.348 GB, free: 56.44 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_3.2.3_cpp_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,_D_cse1.R,_D_cse1.T,_D_cse1.cp,_D_cse1.cv,_D_cse1.h,_D_cse1.p,_D_cse1.pd,_D_cse1.pt,_D_cse1.rho,_D_cse1.s,_D_cse1.vp,_D_cse1.vt,_D_cse2.R,_D_cse2.T,_D_cse2.cp,_D_cse2.cv,_D_cse2.h,_D_cse2.p,_D_cse2.pd,_D_cse2.pt,_D_cse2.rho,_D_cse2.s,_D_cse2.vp,_D_cse2.vt,_D_whenCondition1,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.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.d,der(medium.T),der(medium.d),medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.d,medium.state.h,medium.state.p,medium.u,p,s,s_is,state.T,state.d,state.h,state.p,state2.T,state2.d,state2.h,state2.p,state3.T,state3.d,state3.h,state3.p,state4.T,state4.d,state4.h,state4.p,state5.T,state5.d,state5.h,state5.p,state_h_is.T,state_h_is.d,state_h_is.h,state_h_is.p,time,u