Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001501/0.001501, allocations: 207.9 kB / 8.545 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.5 MB / 234.4 MB, free: 3.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.1764/0.1764, allocations: 91.25 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 45.15 MB / 383.4 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.394e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.53/1.687, allocations: 0.5455 GB / 1.049 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/1.688, allocations: 83.45 kB / 1.049 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1964/1.884, allocations: 106 MB / 1.153 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.561e-05/1.884, allocations: 4 kB / 1.153 GB, free: 12.97 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.003844/1.888, allocations: 1.04 MB / 1.154 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.888, allocations: 8.031 kB / 1.154 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/1.889, allocations: 79.64 kB / 1.154 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/1.89, allocations: 242.7 kB / 1.154 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/1.89, allocations: 12 kB / 1.154 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/1.89, allocations: 19.94 kB / 1.154 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000704/1.89, allocations: 0.5829 MB / 1.155 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/1.891, allocations: 353.3 kB / 1.155 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.891, allocations: 4 kB / 1.155 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/1.891, allocations: 4 kB / 1.155 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/1.891, allocations: 8 kB / 1.155 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3576/2.248, allocations: 26.99 MB / 1.181 GB, free: 205.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/2.249, allocations: 69.08 kB / 1.182 GB, free: 205.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/2.249, allocations: 30.67 kB / 1.182 GB, free: 205.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01705/2.266, allocations: 6.491 MB / 1.188 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/2.266, allocations: 104.9 kB / 1.188 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 4.829e-06/2.266, allocations: 0 / 1.188 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.001816/2.268, allocations: 389.1 kB / 1.188 GB, free: 203 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/2.268, allocations: 59.03 kB / 1.188 GB, free: 203 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/2.268, allocations: 190 kB / 1.189 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/2.268, allocations: 29.67 kB / 1.189 GB, free: 202.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/2.268, allocations: 234.4 kB / 1.189 GB, free: 202.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/2.268, allocations: 50.61 kB / 1.189 GB, free: 202.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/2.268, allocations: 4 kB / 1.189 GB, free: 202.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/2.269, allocations: 331.3 kB / 1.189 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/2.269, allocations: 55.31 kB / 1.189 GB, free: 202.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/2.269, allocations: 324.1 kB / 1.19 GB, free: 202 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/2.27, allocations: 183.2 kB / 1.19 GB, free: 202 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/2.27, allocations: 3.906 kB / 1.19 GB, free: 202 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001616/2.271, allocations: 0.5539 MB / 1.19 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/2.271, allocations: 3.969 kB / 1.19 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/2.271, allocations: 7.906 kB / 1.19 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/2.272, allocations: 54.69 kB / 1.19 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/2.272, allocations: 104.1 kB / 1.19 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006745/2.272, allocations: 1.252 MB / 1.192 GB, free: 200.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/2.273, allocations: 17.19 kB / 1.192 GB, free: 200.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/2.273, allocations: 31 kB / 1.192 GB, free: 200.7 MB / 0.5261 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.0001786/2.273, allocations: 136.5 kB / 1.192 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/2.273, allocations: 93.48 kB / 1.192 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/2.274, allocations: 430.9 kB / 1.192 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/2.274, allocations: 0 / 1.192 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/2.274, allocations: 3.938 kB / 1.192 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/2.274, allocations: 10.14 kB / 1.192 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/2.28, allocations: 2.385 MB / 1.195 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/2.28, allocations: 5.844 kB / 1.195 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/2.28, allocations: 18.94 kB / 1.195 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/2.28, allocations: 57.78 kB / 1.195 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/2.28, allocations: 3.969 kB / 1.195 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006446/2.28, allocations: 1.295 MB / 1.196 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.28, allocations: 3.938 kB / 1.196 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008223/2.281, allocations: 0.5266 MB / 1.197 GB, free: 198 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/2.281, allocations: 127.6 kB / 1.197 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/2.281, allocations: 8.875 kB / 1.197 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/2.282, allocations: 11.17 kB / 1.197 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/2.282, allocations: 7.844 kB / 1.197 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/2.282, allocations: 11.19 kB / 1.197 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001224/2.282, allocations: 158.8 kB / 1.197 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001642/2.283, allocations: 405.2 kB / 1.197 GB, free: 197.9 MB / 0.5261 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.001929/2.285, allocations: 0.8144 MB / 1.198 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005043/2.286, allocations: 284.2 kB / 1.198 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/2.286, allocations: 6.375 kB / 1.198 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/2.286, allocations: 163.3 kB / 1.199 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/2.286, allocations: 37.81 kB / 1.199 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.256/2.542, allocations: 173.8 MB / 1.368 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/2.543, allocations: 0.8014 MB / 1.369 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/2.543, allocations: 0 / 1.369 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.02377/2.567, allocations: 11.39 MB / 1.38 GB, free: 44.88 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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