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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 172.4 kB / 8.516 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.001033/0.001033, allocations: 80.7 kB / 281.2 MB, free: 5.527 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.2198/0.2198, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.644e-06/7.684e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1605, allocations: 61.91 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.546, allocations: 0.5444 GB / 1.039 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.546, allocations: 83.95 kB / 1.039 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.5178/2.064, allocations: 105.9 MB / 1.142 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.962e-05/2.064, allocations: 2.469 kB / 1.142 GB, free: 156.7 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.004346/2.068, allocations: 1.036 MB / 1.143 GB, free: 156 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/2.068, allocations: 13.53 kB / 1.143 GB, free: 156 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/2.069, allocations: 82.98 kB / 1.143 GB, free: 156 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/2.07, allocations: 249.3 kB / 1.143 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/2.07, allocations: 8 kB / 1.143 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/2.07, allocations: 15.66 kB / 1.143 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009573/2.071, allocations: 0.5805 MB / 1.144 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/2.071, allocations: 361 kB / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/2.071, allocations: 5.062 kB / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/2.071, allocations: 1.094 kB / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/2.071, allocations: 7.719 kB / 1.144 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05486/2.126, allocations: 26.97 MB / 1.171 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/2.126, allocations: 82.44 kB / 1.171 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/2.126, allocations: 25.08 kB / 1.171 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01614/2.143, allocations: 6.513 MB / 1.177 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/2.143, allocations: 99.23 kB / 1.177 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 4.589e-06/2.143, allocations: 0 / 1.177 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.002192/2.145, allocations: 381 kB / 1.178 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/2.145, allocations: 59.34 kB / 1.178 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/2.145, allocations: 196.2 kB / 1.178 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/2.145, allocations: 25.7 kB / 1.178 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/2.146, allocations: 238.5 kB / 1.178 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/2.146, allocations: 47.36 kB / 1.178 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/2.146, allocations: 0 / 1.178 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/2.146, allocations: 330.8 kB / 1.178 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/2.146, allocations: 53 kB / 1.179 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/2.146, allocations: 337.6 kB / 1.179 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/2.147, allocations: 184.4 kB / 1.179 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.147, allocations: 7.938 kB / 1.179 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001662/2.149, allocations: 0.5577 MB / 1.18 GB, free: 121 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/2.149, allocations: 4 kB / 1.18 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/2.149, allocations: 12 kB / 1.18 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/2.149, allocations: 49.7 kB / 1.18 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/2.149, allocations: 103.8 kB / 1.18 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006667/2.15, allocations: 1.25 MB / 1.181 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/2.15, allocations: 15.89 kB / 1.181 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/2.15, allocations: 28 kB / 1.181 GB, free: 119.5 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system w/o 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.0001969/2.15, allocations: 132.9 kB / 1.181 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/2.151, allocations: 91.72 kB / 1.181 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007604/2.151, allocations: 425.6 kB / 1.182 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/2.151, allocations: 0 / 1.182 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/2.151, allocations: 0 / 1.182 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/2.151, allocations: 4 kB / 1.182 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/2.157, allocations: 2.41 MB / 1.184 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/2.157, allocations: 0 / 1.184 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/2.157, allocations: 15.98 kB / 1.184 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/2.157, allocations: 53.69 kB / 1.184 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/2.157, allocations: 7.906 kB / 1.184 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006437/2.158, allocations: 1.309 MB / 1.185 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.158, allocations: 96 / 1.185 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000902/2.159, allocations: 0.5316 MB / 1.186 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/2.159, allocations: 124.8 kB / 1.186 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/2.159, allocations: 0 / 1.186 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/2.159, allocations: 11.91 kB / 1.186 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/2.159, allocations: 11.98 kB / 1.186 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/2.159, allocations: 19.98 kB / 1.186 GB, free: 114 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000126/2.16, allocations: 153.2 kB / 1.186 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002205/2.162, allocations: 399.5 kB / 1.187 GB, free: 113.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 9 * 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.002467/2.164, allocations: 0.8213 MB / 1.187 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005502/2.165, allocations: 284.2 kB / 1.188 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/2.165, allocations: 4.312 kB / 1.188 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/2.165, allocations: 157.7 kB / 1.188 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/2.165, allocations: 35.84 kB / 1.188 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5046/2.67, allocations: 173.8 MB / 1.357 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/2.67, allocations: 0.8005 MB / 1.358 GB, free: 184.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.392e-06/2.67, allocations: 0 / 1.358 GB, free: 184.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.01694/2.687, allocations: 11.39 MB / 1.369 GB, free: 178.2 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