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.001597/0.001597, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001941/0.001941, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.371/1.371, allocations: 222.9 MB / 242.9 MB, free: 15.14 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.2037/0.2037, allocations: 44.18 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.77 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3571/0.4586, allocations: 150.1 MB / 0.6055 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005837/0.4645, allocations: 5.316 MB / 0.6107 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.4646, allocations: 4 kB / 0.6107 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.4649, allocations: 51.66 kB / 0.6108 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.4683, allocations: 1.307 MB / 0.612 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.4687, allocations: 146.8 kB / 0.6122 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.4692, allocations: 394.1 kB / 0.6126 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.4692, allocations: 17.69 kB / 0.6126 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.4695, allocations: 167.3 kB / 0.6127 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.4698, allocations: 175.4 kB / 0.6129 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.4698, allocations: 8 kB / 0.6129 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.472, allocations: 1.042 MB / 0.6139 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.4721, allocations: 43.81 kB / 0.614 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.4723, allocations: 115.4 kB / 0.6141 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.4736, allocations: 0.8537 MB / 0.6149 GB, free: 0.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4736, allocations: 4 kB / 0.6149 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4736, allocations: 0 / 0.6149 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4737, allocations: 0 / 0.6149 GB, free: 0.8711 MB / 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.001246/0.4749, allocations: 0.6717 MB / 0.6156 GB, free: 156 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.475, allocations: 12.03 kB / 0.6156 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008122/0.4831, allocations: 0.5897 MB / 0.6162 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.4836, allocations: 267.7 kB / 0.6164 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.4837, allocations: 127.4 kB / 0.6165 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.4838, allocations: 20 kB / 0.6166 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.485, allocations: 0.5634 MB / 0.6171 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.485, allocations: 4 kB / 0.6171 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/0.4851, allocations: 8 kB / 0.6171 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.4851, allocations: 11.94 kB / 0.6171 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.4866, allocations: 0.6299 MB / 0.6178 GB, free: 13.82 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.002199/0.4888, allocations: 1.711 MB / 0.6194 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.4891, allocations: 154.5 kB / 0.6196 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.4893, allocations: 76.83 kB / 0.6196 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.4906, allocations: 1.475 MB / 0.6211 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4906, allocations: 38.12 kB / 0.6211 GB, free: 9.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.555e-06/0.4907, allocations: 0 / 0.6211 GB, free: 9.941 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.001012/0.4917, allocations: 335.8 kB / 0.6214 GB, free: 9.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4917, allocations: 51.41 kB / 0.6215 GB, free: 9.547 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4919, allocations: 178.5 kB / 0.6217 GB, free: 9.363 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.4919, allocations: 33.7 kB / 0.6217 GB, free: 9.324 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.4921, allocations: 183.3 kB / 0.6219 GB, free: 9.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.4921, allocations: 63.09 kB / 0.6219 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.4922, allocations: 105.9 kB / 0.622 GB, free: 8.969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4924, allocations: 326.8 kB / 0.6223 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4925, allocations: 64.7 kB / 0.6224 GB, free: 8.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.4928, allocations: 260 kB / 0.6226 GB, free: 8.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.4933, allocations: 374.1 kB / 0.623 GB, free: 7.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4933, allocations: 0 / 0.623 GB, free: 7.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006206/0.4939, allocations: 369.4 kB / 0.6234 GB, free: 7.402 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4939, allocations: 8 kB / 0.6234 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4939, allocations: 11.94 kB / 0.6234 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.494, allocations: 8 kB / 0.6234 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.4944, allocations: 127.8 kB / 0.6235 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003543/0.4948, allocations: 0.6066 MB / 0.6241 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.495, allocations: 43.53 kB / 0.6241 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.4951, allocations: 43.98 kB / 0.6242 GB, free: 6.535 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.0001439/0.4952, allocations: 141.7 kB / 0.6243 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.4953, allocations: 19.81 kB / 0.6243 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/0.4963, allocations: 470.4 kB / 0.6248 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4963, allocations: 0 / 0.6248 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4964, allocations: 4 kB / 0.6248 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4964, allocations: 0 / 0.6248 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.4973, allocations: 0.6274 MB / 0.6254 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4973, allocations: 4 kB / 0.6254 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.4975, allocations: 64.64 kB / 0.6255 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.4976, allocations: 4.25 kB / 0.6255 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4976, allocations: 12 kB / 0.6255 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003219/0.4979, allocations: 0.5938 MB / 0.6261 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4979, allocations: 7.938 kB / 0.6261 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.4983, allocations: 298.7 kB / 0.6264 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4984, allocations: 108.8 kB / 0.6265 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.4985, allocations: 11.94 kB / 0.6265 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4988, allocations: 15.92 kB / 0.6265 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.4988, allocations: 15.98 kB / 0.6265 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.4989, allocations: 19.98 kB / 0.6265 GB, free: 3.941 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.499, allocations: 139.6 kB / 0.6267 GB, free: 3.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.499, allocations: 0 / 0.6267 GB, free: 3.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007045/0.4997, allocations: 168 kB / 0.6268 GB, free: 3.641 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.0007266/0.5004, allocations: 283.2 kB / 0.6271 GB, free: 3.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.501, allocations: 229.3 kB / 0.6273 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5011, allocations: 0 / 0.6273 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.5013, allocations: 80.45 kB / 0.6274 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.5019, allocations: 78.53 kB / 0.6275 GB, free: 2.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.5035, allocations: 0.8519 MB / 0.6283 GB, free: 2.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.5038, allocations: 0.7245 MB / 0.629 GB, free: 1.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.5041, allocations: 87.34 kB / 0.6291 GB, free: 1.246 MB / 462.1 MB Notification: Performance of SimCode: time 4.4e-07/0.5041, allocations: 0 / 0.6291 GB, free: 1.246 MB / 462.1 MB Notification: Performance of Templates: time 0.009532/0.5137, allocations: 5.444 MB / 0.6344 GB, free: 11.8 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 -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