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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001022, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008053/0.0008053, allocations: 86.62 kB / 261.7 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2311/0.2311, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.15e-05/1.151e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.989/2.129, allocations: 0.645 GB / 1.111 GB, free: 182.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/2.129, allocations: 88.98 kB / 1.111 GB, free: 182.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2017/2.331, allocations: 108.7 MB / 1.217 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.517e-06/2.331, allocations: 4 kB / 1.217 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.914e-05/2.331, allocations: 7.938 kB / 1.217 GB, free: 86.58 MB / 0.4948 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.004426/2.335, allocations: 1.036 MB / 1.218 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/2.335, allocations: 12.03 kB / 1.218 GB, free: 85.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006472/2.336, allocations: 79.66 kB / 1.218 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/2.336, allocations: 250.7 kB / 1.219 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/2.336, allocations: 8 kB / 1.219 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/2.336, allocations: 16 kB / 1.219 GB, free: 85.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006152/2.337, allocations: 0.5788 MB / 1.219 GB, free: 84.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/2.337, allocations: 352.5 kB / 1.219 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/2.337, allocations: 3.938 kB / 1.219 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/2.338, allocations: 0 / 1.219 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/2.338, allocations: 8 kB / 1.219 GB, free: 84.13 MB / 0.4948 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.04425/2.382, allocations: 27.76 MB / 1.247 GB, free: 53.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/2.382, allocations: 70.59 kB / 1.247 GB, free: 53.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/2.382, allocations: 28.86 kB / 1.247 GB, free: 53.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/2.396, allocations: 6.439 MB / 1.253 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/2.396, allocations: 95.47 kB / 1.253 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 4.328e-06/2.396, allocations: 0 / 1.253 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.00182/2.398, allocations: 418.2 kB / 1.253 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/2.398, allocations: 51.41 kB / 1.254 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/2.398, allocations: 198.8 kB / 1.254 GB, free: 46.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/2.398, allocations: 29.7 kB / 1.254 GB, free: 46.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/2.399, allocations: 234.6 kB / 1.254 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/2.399, allocations: 55.28 kB / 1.254 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/2.399, allocations: 0 / 1.254 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/2.399, allocations: 334.8 kB / 1.254 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/2.399, allocations: 49.12 kB / 1.254 GB, free: 45.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/2.399, allocations: 318.9 kB / 1.255 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/2.4, allocations: 199.7 kB / 1.255 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.4, allocations: 4 kB / 1.255 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001153/2.401, allocations: 463.5 kB / 1.255 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/2.401, allocations: 8 kB / 1.255 GB, free: 44.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/2.401, allocations: 15.94 kB / 1.255 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/2.401, allocations: 53.67 kB / 1.255 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/2.401, allocations: 95.83 kB / 1.255 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007485/2.402, allocations: 1.266 MB / 1.257 GB, free: 42.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/2.403, allocations: 16.19 kB / 1.257 GB, free: 42.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/2.403, allocations: 28 kB / 1.257 GB, free: 42.69 MB / 0.4948 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.0002233/2.403, allocations: 132.7 kB / 1.257 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/2.403, allocations: 19.72 kB / 1.257 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/2.403, allocations: 397.5 kB / 1.257 GB, free: 42.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/2.403, allocations: 3.938 kB / 1.257 GB, free: 42.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/2.403, allocations: 0 / 1.257 GB, free: 42.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/2.404, allocations: 7.938 kB / 1.257 GB, free: 42.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/2.404, allocations: 317.7 kB / 1.258 GB, free: 41.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/2.404, allocations: 4.062 kB / 1.258 GB, free: 41.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/2.404, allocations: 23.98 kB / 1.258 GB, free: 41.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.207e-05/2.404, allocations: 57.69 kB / 1.258 GB, free: 41.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/2.404, allocations: 0 / 1.258 GB, free: 41.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005242/2.405, allocations: 1.297 MB / 1.259 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/2.405, allocations: 0 / 1.259 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/2.405, allocations: 320.2 kB / 1.259 GB, free: 40.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/2.405, allocations: 124.6 kB / 1.259 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/2.405, allocations: 4 kB / 1.259 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/2.405, allocations: 7.984 kB / 1.259 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/2.405, allocations: 12.08 kB / 1.259 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/2.405, allocations: 4 kB / 1.259 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001042/2.405, allocations: 158 kB / 1.26 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.405, allocations: 0 / 1.26 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001758/2.407, allocations: 391.4 kB / 1.26 GB, free: 39.3 MB / 0.4948 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.001812/2.409, allocations: 0.712 MB / 1.261 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004573/2.409, allocations: 285.3 kB / 1.261 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.409, allocations: 0 / 1.261 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/2.41, allocations: 157.6 kB / 1.261 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/2.41, allocations: 32.39 kB / 1.261 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4221/2.832, allocations: 76.91 MB / 1.336 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/2.832, allocations: 0.7533 MB / 1.337 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004715/2.833, allocations: 196.8 kB / 1.337 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/2.833, allocations: 22.31 kB / 1.337 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.694e-06/2.833, allocations: 0 / 1.337 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.01776/2.851, allocations: 10.27 MB / 1.347 GB, free: 134.5 MB / 0.4948 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