Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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 3.2.3+maint.om/package.mo): time 0.0009816/0.0009816, allocations: 183.8 kB / 7.798 MB, free: 144 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.141/1.141, allocations: 205.2 MB / 213.4 MB, free: 2.215 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 94.11 kB / 261.4 MB, free: 1.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1557/0.1557, allocations: 43.5 MB / 352.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.564e-06, allocations: 4 kB / 417.7 MB, free: 62.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08635, allocations: 58.84 MB / 476.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.188, allocations: 0.6454 GB / 1.111 GB, free: 185.1 MB / 0.4981 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/1.189, allocations: 88.05 kB / 1.111 GB, free: 185.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.176/1.365, allocations: 108.8 MB / 1.217 GB, free: 88.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.561e-05/1.365, allocations: 4 kB / 1.217 GB, free: 88.56 MB / 0.4981 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.003196/1.368, allocations: 1.052 MB / 1.218 GB, free: 87.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.368, allocations: 13.28 kB / 1.218 GB, free: 87.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005468/1.369, allocations: 83.64 kB / 1.218 GB, free: 87.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/1.369, allocations: 246.6 kB / 1.218 GB, free: 87.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.369, allocations: 8 kB / 1.219 GB, free: 87.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/1.369, allocations: 19.98 kB / 1.219 GB, free: 87.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005314/1.369, allocations: 0.579 MB / 1.219 GB, free: 86.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/1.37, allocations: 361.3 kB / 1.219 GB, free: 86.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.37, allocations: 0 / 1.219 GB, free: 86.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/1.37, allocations: 8 kB / 1.219 GB, free: 86.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.37, allocations: 4 kB / 1.219 GB, free: 86.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/1.411, allocations: 26.99 MB / 1.246 GB, free: 56.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/1.412, allocations: 66.66 kB / 1.246 GB, free: 56.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/1.412, allocations: 32.84 kB / 1.246 GB, free: 56.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/1.426, allocations: 6.487 MB / 1.252 GB, free: 49.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/1.426, allocations: 99.45 kB / 1.252 GB, free: 49.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.205e-06/1.426, allocations: 0 / 1.252 GB, free: 49.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001542/1.428, allocations: 378.2 kB / 1.253 GB, free: 49.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/1.428, allocations: 59.39 kB / 1.253 GB, free: 48.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/1.428, allocations: 202.7 kB / 1.253 GB, free: 48.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/1.428, allocations: 25.7 kB / 1.253 GB, free: 48.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/1.428, allocations: 238.6 kB / 1.253 GB, free: 48.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/1.428, allocations: 55.28 kB / 1.253 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/1.428, allocations: 0 / 1.253 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/1.428, allocations: 330.8 kB / 1.254 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/1.428, allocations: 49 kB / 1.254 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.428, allocations: 326.4 kB / 1.254 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/1.429, allocations: 183.7 kB / 1.254 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.429, allocations: 4 kB / 1.254 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001525/1.431, allocations: 0.5579 MB / 1.255 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.431, allocations: 8 kB / 1.255 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.431, allocations: 8 kB / 1.255 GB, free: 46.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/1.431, allocations: 53.64 kB / 1.255 GB, free: 46.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/1.431, allocations: 99.83 kB / 1.255 GB, free: 46.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00057/1.432, allocations: 1.262 MB / 1.256 GB, free: 45.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/1.432, allocations: 8 kB / 1.256 GB, free: 45.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/1.432, allocations: 35.94 kB / 1.256 GB, free: 45.3 MB / 0.4981 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.0001301/1.432, allocations: 128.8 kB / 1.256 GB, free: 45.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/1.433, allocations: 95.62 kB / 1.256 GB, free: 45.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/1.433, allocations: 429.6 kB / 1.257 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.433, allocations: 7.906 kB / 1.257 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.433, allocations: 0 / 1.257 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.433, allocations: 7.969 kB / 1.257 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/1.438, allocations: 2.41 MB / 1.259 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.438, allocations: 3.984 kB / 1.259 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/1.438, allocations: 12 kB / 1.259 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.242e-05/1.438, allocations: 61.62 kB / 1.259 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.438, allocations: 0 / 1.259 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005128/1.439, allocations: 1.301 MB / 1.26 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.439, allocations: 4.031 kB / 1.26 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007307/1.439, allocations: 0.5237 MB / 1.261 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/1.439, allocations: 128.7 kB / 1.261 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/1.439, allocations: 0 / 1.261 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/1.44, allocations: 8 kB / 1.261 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/1.44, allocations: 11.98 kB / 1.261 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/1.44, allocations: 11.98 kB / 1.261 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.383e-05/1.44, allocations: 157.2 kB / 1.261 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001249/1.441, allocations: 403.4 kB / 1.262 GB, free: 39.29 MB / 0.4981 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.001664/1.443, allocations: 0.8175 MB / 1.262 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003639/1.443, allocations: 283.6 kB / 1.263 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.443, allocations: 4.875 kB / 1.263 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/1.443, allocations: 157.7 kB / 1.263 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/1.444, allocations: 36.94 kB / 1.263 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3504/1.794, allocations: 176.4 MB / 1.435 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.794, allocations: 0.8061 MB / 1.436 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/1.794, allocations: 0 / 1.436 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.01344/1.808, allocations: 11.39 MB / 1.447 GB, free: 101 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/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_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