Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01048/0.01048, allocations: 99.98 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002393/0.002393, allocations: 189.6 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 222.7 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4231/0.4231, allocations: 43.5 MB / 313.5 MB, free: 8.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 75.12 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.152, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4211/0.5732, allocations: 149.1 MB / 0.5751 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.5796, allocations: 4.821 MB / 0.5798 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.5798, allocations: 4 kB / 0.5799 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.5802, allocations: 47.8 kB / 0.5799 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.5853, allocations: 1.361 MB / 0.5812 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.5858, allocations: 137.6 kB / 0.5814 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007822/0.5865, allocations: 470 kB / 0.5818 GB, free: 244 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.425e-05/0.5866, allocations: 9.688 kB / 0.5818 GB, free: 236 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.5871, allocations: 175.2 kB / 0.582 GB, free: 60 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.5876, allocations: 171.6 kB / 0.5821 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.5876, allocations: 8 kB / 0.5822 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.5908, allocations: 1.22 MB / 0.5833 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.5909, allocations: 51.75 kB / 0.5834 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.5912, allocations: 107.5 kB / 0.5835 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.594, allocations: 0.9823 MB / 0.5845 GB, free: 13.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.594, allocations: 1.219 kB / 0.5845 GB, free: 13.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.594, allocations: 4 kB / 0.5845 GB, free: 13.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.594, allocations: 0 / 0.5845 GB, free: 13.52 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001763/0.5958, allocations: 0.7176 MB / 0.5852 GB, free: 12.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5958, allocations: 8.031 kB / 0.5852 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008214/0.6041, allocations: 0.5913 MB / 0.5857 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.6046, allocations: 261.4 kB / 0.586 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.6048, allocations: 135.3 kB / 0.5861 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.6049, allocations: 24 kB / 0.5861 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.6062, allocations: 0.5556 MB / 0.5867 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.6062, allocations: 4 kB / 0.5867 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.6063, allocations: 11.94 kB / 0.5867 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.6064, allocations: 11.94 kB / 0.5867 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.6079, allocations: 0.6299 MB / 0.5873 GB, free: 10.45 MB / 462.1 MB 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.002324/0.6102, allocations: 1.632 MB / 0.5889 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.6107, allocations: 174.3 kB / 0.5891 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.6108, allocations: 72.88 kB / 0.5892 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002205/0.6131, allocations: 2.078 MB / 0.5912 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6131, allocations: 36.19 kB / 0.5912 GB, free: 5.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/0.6131, allocations: 0 / 0.5912 GB, free: 5.965 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001095/0.6142, allocations: 336.9 kB / 0.5915 GB, free: 5.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.6143, allocations: 63.33 kB / 0.5916 GB, free: 5.559 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.6145, allocations: 186.1 kB / 0.5918 GB, free: 5.363 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.6145, allocations: 29.7 kB / 0.5918 GB, free: 5.328 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.6147, allocations: 179.4 kB / 0.592 GB, free: 5.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.6147, allocations: 67 kB / 0.592 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.6149, allocations: 89.97 kB / 0.5921 GB, free: 4.988 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6151, allocations: 330.8 kB / 0.5924 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.6153, allocations: 64.72 kB / 0.5925 GB, free: 4.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.6155, allocations: 271.7 kB / 0.5928 GB, free: 4.234 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.6161, allocations: 371.7 kB / 0.5931 GB, free: 3.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6161, allocations: 0 / 0.5931 GB, free: 3.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007135/0.6168, allocations: 364.8 kB / 0.5935 GB, free: 3.414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6169, allocations: 8 kB / 0.5935 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.6169, allocations: 8 kB / 0.5935 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6169, allocations: 8.812 kB / 0.5935 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.6174, allocations: 123.8 kB / 0.5936 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004611/0.6179, allocations: 0.6094 MB / 0.5942 GB, free: 2.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.6182, allocations: 43.53 kB / 0.5943 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.6182, allocations: 43.98 kB / 0.5943 GB, free: 2.551 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.6184, allocations: 141.7 kB / 0.5944 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.6185, allocations: 19.91 kB / 0.5944 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.6194, allocations: 329.1 kB / 0.5948 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6194, allocations: 7.938 kB / 0.5948 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6194, allocations: 0 / 0.5948 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.6195, allocations: 0 / 0.5948 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.6203, allocations: 0.5301 MB / 0.5953 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6203, allocations: 0 / 0.5953 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.6205, allocations: 55.95 kB / 0.5953 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.6206, allocations: 1.812 kB / 0.5953 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.6206, allocations: 12 kB / 0.5954 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004283/0.621, allocations: 0.5977 MB / 0.5959 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.621, allocations: 7.969 kB / 0.5959 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.6215, allocations: 267.7 kB / 0.5962 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.6217, allocations: 112.8 kB / 0.5963 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.6218, allocations: 4 kB / 0.5963 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.6221, allocations: 15.98 kB / 0.5963 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.6221, allocations: 15.91 kB / 0.5963 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.6222, allocations: 23.98 kB / 0.5964 GB, free: 268 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.6223, allocations: 137.2 kB / 0.5965 GB, free: 132 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6223, allocations: 0 / 0.5965 GB, free: 132 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007983/0.6231, allocations: 208.1 kB / 0.5967 GB, free: 15.92 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.6243, allocations: 361 kB / 0.597 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007435/0.625, allocations: 217.3 kB / 0.5972 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.6251, allocations: 4.125 kB / 0.5972 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.6253, allocations: 83.89 kB / 0.5973 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.626, allocations: 75.67 kB / 0.5974 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.6297, allocations: 2.027 MB / 0.5994 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.6301, allocations: 0.7248 MB / 0.6001 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.6307, allocations: 102.3 kB / 0.6002 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6308, allocations: 39.42 kB / 0.6002 GB, free: 12.25 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6308, allocations: 3.938 kB / 0.6002 GB, free: 12.25 MB / 478.1 MB Notification: Performance of Templates: time 0.01468/0.6455, allocations: 6.443 MB / 0.6065 GB, free: 5.855 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches