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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008964/0.0008964, allocations: 111.6 kB / 269.9 MB, free: 8.422 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.329/0.329, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1216, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3665/0.4882, allocations: 149.1 MB / 0.6212 GB, free: 10.39 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.4942, allocations: 4.819 MB / 0.6259 GB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.4944, allocations: 0 / 0.6259 GB, free: 6.566 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.4948, allocations: 51.09 kB / 0.626 GB, free: 6.523 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.4986, allocations: 1.358 MB / 0.6273 GB, free: 5.547 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.499, allocations: 141.3 kB / 0.6274 GB, free: 5.465 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.4996, allocations: 471.2 kB / 0.6279 GB, free: 5.211 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.4997, allocations: 11.72 kB / 0.6279 GB, free: 5.211 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.5, allocations: 163.1 kB / 0.6281 GB, free: 5.137 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.5003, allocations: 182.2 kB / 0.6282 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.5003, allocations: 4.75 kB / 0.6282 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.5026, allocations: 1.216 MB / 0.6294 GB, free: 4.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.5027, allocations: 51.73 kB / 0.6295 GB, free: 4.289 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.5028, allocations: 115.5 kB / 0.6296 GB, free: 4.176 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.5045, allocations: 0.9805 MB / 0.6305 GB, free: 3.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5045, allocations: 0 / 0.6305 GB, free: 3.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.5045, allocations: 0 / 0.6305 GB, free: 3.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.5045, allocations: 8 kB / 0.6306 GB, free: 3.188 MB / 442.7 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.001206/0.5058, allocations: 0.7137 MB / 0.6313 GB, free: 2.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5058, allocations: 8.031 kB / 0.6313 GB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007267/0.5131, allocations: 0.5957 MB / 0.6318 GB, free: 1.832 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.5135, allocations: 264.3 kB / 0.6321 GB, free: 1.535 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.5137, allocations: 123.3 kB / 0.6322 GB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.5138, allocations: 24 kB / 0.6322 GB, free: 1.367 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.5148, allocations: 0.5594 MB / 0.6328 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5149, allocations: 4 kB / 0.6328 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.764e-05/0.5149, allocations: 12 kB / 0.6328 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.515, allocations: 8.938 kB / 0.6328 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.5164, allocations: 0.626 MB / 0.6334 GB, free: 136 kB / 442.7 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.001979/0.5183, allocations: 1.634 MB / 0.635 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.5187, allocations: 162.4 kB / 0.6352 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.5188, allocations: 76.86 kB / 0.6352 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/0.5209, allocations: 2.089 MB / 0.6373 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.521, allocations: 42.55 kB / 0.6373 GB, free: 11.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/0.521, allocations: 0 / 0.6373 GB, free: 11.64 MB / 458.7 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.000989/0.522, allocations: 338.7 kB / 0.6376 GB, free: 11.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.522, allocations: 59.41 kB / 0.6377 GB, free: 11.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.5222, allocations: 178.2 kB / 0.6379 GB, free: 11.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.5222, allocations: 29.7 kB / 0.6379 GB, free: 11.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.5224, allocations: 171.4 kB / 0.6381 GB, free: 10.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.5224, allocations: 74.98 kB / 0.6381 GB, free: 10.76 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.5226, allocations: 85.97 kB / 0.6382 GB, free: 10.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5227, allocations: 338.8 kB / 0.6385 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5228, allocations: 68.7 kB / 0.6386 GB, free: 10.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.5231, allocations: 256.6 kB / 0.6388 GB, free: 9.922 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.5236, allocations: 379.6 kB / 0.6392 GB, free: 9.457 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5236, allocations: 0 / 0.6392 GB, free: 9.457 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005925/0.5242, allocations: 368.3 kB / 0.6396 GB, free: 9.094 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5243, allocations: 8 kB / 0.6396 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5243, allocations: 8 kB / 0.6396 GB, free: 9.078 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5243, allocations: 8 kB / 0.6396 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.5247, allocations: 123.8 kB / 0.6397 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/0.5251, allocations: 0.6018 MB / 0.6403 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.5254, allocations: 55.41 kB / 0.6403 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.5254, allocations: 39.98 kB / 0.6404 GB, free: 8.234 MB / 458.7 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.0001691/0.5256, allocations: 145.7 kB / 0.6405 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.5257, allocations: 15.81 kB / 0.6405 GB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007728/0.5264, allocations: 324.5 kB / 0.6408 GB, free: 7.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5265, allocations: 11.94 kB / 0.6409 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5265, allocations: 0 / 0.6409 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5265, allocations: 0 / 0.6409 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006913/0.5272, allocations: 0.5218 MB / 0.6414 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5272, allocations: 11.92 kB / 0.6414 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.5274, allocations: 64.06 kB / 0.6414 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.5274, allocations: 0 / 0.6414 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.5275, allocations: 4 kB / 0.6414 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003259/0.5278, allocations: 0.5968 MB / 0.642 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5278, allocations: 7.969 kB / 0.642 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.5285, allocations: 0.8764 MB / 0.6429 GB, free: 5.473 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5287, allocations: 112.8 kB / 0.643 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.5287, allocations: 8 kB / 0.643 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.5289, allocations: 11.98 kB / 0.643 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.529, allocations: 15.98 kB / 0.643 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.529, allocations: 15.98 kB / 0.643 GB, free: 5.293 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.5291, allocations: 139 kB / 0.6432 GB, free: 5.156 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5291, allocations: 0 / 0.6432 GB, free: 5.156 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007691/0.5299, allocations: 204 kB / 0.6434 GB, free: 4.957 MB / 458.7 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.0008482/0.5308, allocations: 362.7 kB / 0.6437 GB, free: 4.605 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.5313, allocations: 221.2 kB / 0.6439 GB, free: 4.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5313, allocations: 0 / 0.6439 GB, free: 4.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.5315, allocations: 88.2 kB / 0.644 GB, free: 4.305 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.532, allocations: 81.75 kB / 0.6441 GB, free: 4.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.535, allocations: 2.159 MB / 0.6462 GB, free: 2.016 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.5353, allocations: 0.7248 MB / 0.6469 GB, free: 1.266 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005046/0.5359, allocations: 99.97 kB / 0.647 GB, free: 1.168 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.536, allocations: 51.39 kB / 0.6471 GB, free: 1.117 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.536, allocations: 0 / 0.6471 GB, free: 1.117 MB / 458.7 MB Notification: Performance of Templates: time 0.01082/0.5468, allocations: 6.52 MB / 0.6534 GB, free: 10.64 MB / 474.7 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@2/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