Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 190.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.5 MB / 244.1 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008112/0.0008112, allocations: 100.3 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3821/0.3821, allocations: 44.82 MB / 392.9 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003004, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4354, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.656, allocations: 0.5463 GB / 1.063 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.656, allocations: 83.95 kB / 1.063 GB, free: 59.13 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5511/2.207, allocations: 106.4 MB / 1.167 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.22e-06/2.207, allocations: 3.938 kB / 1.167 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.834e-05/2.207, allocations: 3.969 kB / 1.167 GB, free: 172.9 MB / 0.5417 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.004834/2.212, allocations: 1.024 MB / 1.168 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/2.212, allocations: 15.91 kB / 1.168 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/2.213, allocations: 77.88 kB / 1.168 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/2.214, allocations: 248 kB / 1.168 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/2.214, allocations: 20.84 kB / 1.168 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/2.214, allocations: 23.94 kB / 1.168 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/2.215, allocations: 480.2 kB / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/2.215, allocations: 192 / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/2.215, allocations: 22.92 kB / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/2.215, allocations: 7.875 kB / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/2.216, allocations: 0.6746 MB / 1.169 GB, free: 171.5 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009112/2.225, allocations: 4.119 MB / 1.173 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/2.226, allocations: 220.9 kB / 1.174 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/2.226, allocations: 75.5 kB / 1.174 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08576/2.312, allocations: 42.49 MB / 1.215 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006741/2.313, allocations: 240.9 kB / 1.215 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=20): time 4.088e-06/2.313, allocations: 0 / 1.215 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22): time 0.002731/2.316, allocations: 0.7411 MB / 1.216 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/2.316, allocations: 266 kB / 1.216 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/2.316, allocations: 202.9 kB / 1.217 GB, free: 129 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/2.316, allocations: 33.7 kB / 1.217 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/2.316, allocations: 203.3 kB / 1.217 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/2.316, allocations: 86.83 kB / 1.217 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/2.316, allocations: 12 kB / 1.217 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001016/2.316, allocations: 330.8 kB / 1.217 GB, free: 128.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/2.317, allocations: 61.09 kB / 1.217 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/2.317, allocations: 350.8 kB / 1.218 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/2.317, allocations: 457.2 kB / 1.218 GB, free: 127.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.317, allocations: 4 kB / 1.218 GB, free: 127.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006341/2.318, allocations: 442.9 kB / 1.218 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/2.318, allocations: 8 kB / 1.218 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/2.318, allocations: 11.94 kB / 1.218 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/2.32, allocations: 298 kB / 1.219 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/2.32, allocations: 99.83 kB / 1.219 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005556/2.321, allocations: 1.227 MB / 1.22 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/2.321, allocations: 19.91 kB / 1.22 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/2.321, allocations: 36 kB / 1.22 GB, free: 125 MB / 0.5417 GB 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 () * Number of clocked 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.0001482/2.321, allocations: 149.6 kB / 1.22 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/2.321, allocations: 27.8 kB / 1.22 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009257/2.322, allocations: 0.7989 MB / 1.221 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/2.322, allocations: 8.25 kB / 1.221 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/2.322, allocations: 7.938 kB / 1.221 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/2.322, allocations: 8.047 kB / 1.221 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/2.323, allocations: 0.489 MB / 1.221 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/2.323, allocations: 4 kB / 1.222 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/2.323, allocations: 39.91 kB / 1.222 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/2.324, allocations: 237.3 kB / 1.222 GB, free: 123.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/2.324, allocations: 11.98 kB / 1.222 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004524/2.324, allocations: 1.266 MB / 1.223 GB, free: 121.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.324, allocations: 0 / 1.223 GB, free: 121.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/2.325, allocations: 465.9 kB / 1.223 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/2.325, allocations: 216.1 kB / 1.224 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/2.325, allocations: 8 kB / 1.224 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/2.325, allocations: 19.98 kB / 1.224 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/2.325, allocations: 19.86 kB / 1.224 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/2.325, allocations: 15.98 kB / 1.224 GB, free: 121 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002858/2.326, allocations: 294.9 kB / 1.224 GB, free: 120.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.326, allocations: 0 / 1.224 GB, free: 120.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002077/2.328, allocations: 407.5 kB / 1.224 GB, free: 120.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.003016/2.331, allocations: 0.7082 MB / 1.225 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006369/2.331, allocations: 331.5 kB / 1.225 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/2.331, allocations: 0 / 1.225 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/2.332, allocations: 185.7 kB / 1.226 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/2.332, allocations: 76.16 kB / 1.226 GB, free: 119 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.128/5.461, allocations: 1.184 GB / 2.409 GB, free: 128.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/5.461, allocations: 0.8189 MB / 2.41 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/5.461, allocations: 35.44 kB / 2.41 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.182e-06/5.461, allocations: 0 / 2.41 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.01295/5.474, allocations: 12.82 MB / 2.423 GB, free: 115 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_trunk_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,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,p,s,s_is,time,u