Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001648/0.001648, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001885/0.001885, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 66.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4485/0.5608, allocations: 150.1 MB / 0.6063 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005773/0.5666, allocations: 5.306 MB / 0.6115 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.5668, allocations: 0 / 0.6115 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.5671, allocations: 55.61 kB / 0.6115 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.5714, allocations: 1.313 MB / 0.6128 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.5717, allocations: 136.8 kB / 0.6129 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.5723, allocations: 402.1 kB / 0.6133 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.5724, allocations: 13.69 kB / 0.6133 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.5727, allocations: 171.3 kB / 0.6135 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.573, allocations: 171.5 kB / 0.6137 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.573, allocations: 12 kB / 0.6137 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.5754, allocations: 1.081 MB / 0.6147 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.5755, allocations: 43.81 kB / 0.6148 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.5756, allocations: 103.5 kB / 0.6149 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.5771, allocations: 0.8615 MB / 0.6157 GB, free: 336 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5771, allocations: 0 / 0.6157 GB, free: 336 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5771, allocations: 0 / 0.6157 GB, free: 336 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5771, allocations: 0 / 0.6157 GB, free: 336 kB / 446.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.001351/0.5785, allocations: 0.6795 MB / 0.6164 GB, free: 15.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5785, allocations: 12.03 kB / 0.6164 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006917/0.5855, allocations: 0.5867 MB / 0.617 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.5861, allocations: 267.7 kB / 0.6172 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.5863, allocations: 123.4 kB / 0.6173 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.5864, allocations: 24 kB / 0.6174 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.5875, allocations: 0.5633 MB / 0.6179 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5875, allocations: 0 / 0.6179 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.5876, allocations: 8 kB / 0.6179 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.5877, allocations: 12 kB / 0.6179 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.5891, allocations: 0.6338 MB / 0.6185 GB, free: 13.28 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.002197/0.5913, allocations: 1.713 MB / 0.6202 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.5916, allocations: 163 kB / 0.6204 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.5918, allocations: 76.83 kB / 0.6204 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.5931, allocations: 1.463 MB / 0.6219 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5932, allocations: 34.56 kB / 0.6219 GB, free: 9.398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.5932, allocations: 0 / 0.6219 GB, free: 9.398 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=19): time 0.0009476/0.5941, allocations: 329.4 kB / 0.6222 GB, free: 9.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5942, allocations: 55.41 kB / 0.6223 GB, free: 9.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.5943, allocations: 186.5 kB / 0.6225 GB, free: 8.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.5944, allocations: 29.7 kB / 0.6225 GB, free: 8.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.5945, allocations: 183.3 kB / 0.6227 GB, free: 8.594 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.5945, allocations: 67.09 kB / 0.6227 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.5947, allocations: 93.86 kB / 0.6228 GB, free: 8.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5948, allocations: 330.8 kB / 0.6231 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.5949, allocations: 68.7 kB / 0.6232 GB, free: 8.031 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.5952, allocations: 264 kB / 0.6234 GB, free: 7.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.5957, allocations: 370.9 kB / 0.6238 GB, free: 7.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5957, allocations: 7.938 kB / 0.6238 GB, free: 7.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005939/0.5963, allocations: 365.5 kB / 0.6242 GB, free: 6.852 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5963, allocations: 10.97 kB / 0.6242 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5963, allocations: 4.875 kB / 0.6242 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.5963, allocations: 12 kB / 0.6242 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.5967, allocations: 131.8 kB / 0.6243 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003495/0.5971, allocations: 0.6015 MB / 0.6249 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.5974, allocations: 43.53 kB / 0.6249 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.5974, allocations: 36 kB / 0.625 GB, free: 5.996 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.0001344/0.5976, allocations: 145.6 kB / 0.6251 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.5976, allocations: 23.91 kB / 0.6251 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008327/0.5985, allocations: 467.2 kB / 0.6256 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5985, allocations: 0 / 0.6256 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5985, allocations: 0 / 0.6256 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5985, allocations: 0 / 0.6256 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008649/0.5994, allocations: 0.6352 MB / 0.6262 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.5994, allocations: 0 / 0.6262 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.5996, allocations: 63.89 kB / 0.6263 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5996, allocations: 4 kB / 0.6263 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.5997, allocations: 8 kB / 0.6263 GB, free: 4.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003123/0.6, allocations: 0.598 MB / 0.6269 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6, allocations: 7.922 kB / 0.6269 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.6003, allocations: 294.3 kB / 0.6271 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.6005, allocations: 108.8 kB / 0.6272 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.6005, allocations: 11.94 kB / 0.6273 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.6008, allocations: 13.55 kB / 0.6273 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.6008, allocations: 23.92 kB / 0.6273 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.6009, allocations: 16.5 kB / 0.6273 GB, free: 3.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.601, allocations: 139.6 kB / 0.6274 GB, free: 3.266 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.601, allocations: 0 / 0.6274 GB, free: 3.266 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006798/0.6017, allocations: 163.8 kB / 0.6276 GB, free: 3.105 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0006409/0.6024, allocations: 287.9 kB / 0.6279 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.6029, allocations: 220.3 kB / 0.6281 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6029, allocations: 0 / 0.6281 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.6031, allocations: 85.33 kB / 0.6282 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.6036, allocations: 69.42 kB / 0.6282 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.6051, allocations: 0.8366 MB / 0.629 GB, free: 1.578 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.6054, allocations: 0.7207 MB / 0.6298 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000619/0.606, allocations: 383.2 kB / 0.6301 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.6062, allocations: 59.39 kB / 0.6302 GB, free: 404 kB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6062, allocations: 0 / 0.6302 GB, free: 404 kB / 462.1 MB Notification: Performance of Templates: time 0.01028/0.6165, allocations: 5.647 MB / 0.6357 GB, free: 10.79 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches