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.00118/0.00118, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001371/0.001371, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.418/1.418, allocations: 223.2 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4251/0.5635, allocations: 146 MB / 0.6038 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006497/0.5701, allocations: 5.316 MB / 0.609 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.5704, allocations: 0 / 0.609 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.5708, allocations: 39.8 kB / 0.609 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.5751, allocations: 1.157 MB / 0.6101 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.5755, allocations: 140 kB / 0.6103 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007531/0.5762, allocations: 470 kB / 0.6107 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.5764, allocations: 17.62 kB / 0.6107 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.5768, allocations: 163.3 kB / 0.6109 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.5773, allocations: 175.4 kB / 0.611 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.5774, allocations: 8 kB / 0.6111 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.5797, allocations: 1.064 MB / 0.6121 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.5799, allocations: 43.83 kB / 0.6121 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.58, allocations: 133.2 kB / 0.6123 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.582, allocations: 0.8692 MB / 0.6131 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.582, allocations: 0 / 0.6131 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.582, allocations: 0 / 0.6131 GB, free: 7.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.582, allocations: 0 / 0.6131 GB, free: 7.156 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.001422/0.5834, allocations: 0.6231 MB / 0.6137 GB, free: 6.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5835, allocations: 8.031 kB / 0.6137 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007559/0.591, allocations: 0.5902 MB / 0.6143 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.5915, allocations: 259.8 kB / 0.6146 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.5917, allocations: 127.3 kB / 0.6147 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.5918, allocations: 16 kB / 0.6147 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.593, allocations: 0.5634 MB / 0.6152 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.593, allocations: 0 / 0.6152 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.618e-05/0.5931, allocations: 12 kB / 0.6153 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.5931, allocations: 7.984 kB / 0.6153 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.5945, allocations: 0.6299 MB / 0.6159 GB, free: 4.184 MB / 446.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.002147/0.5967, allocations: 1.718 MB / 0.6176 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.597, allocations: 146.5 kB / 0.6177 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.5972, allocations: 76.83 kB / 0.6178 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.5984, allocations: 1.475 MB / 0.6192 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.5985, allocations: 42.56 kB / 0.6192 GB, free: 300 kB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.462e-06/0.5985, allocations: 0 / 0.6192 GB, free: 300 kB / 446.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.0009915/0.5995, allocations: 323.8 kB / 0.6196 GB, free: 15.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.5995, allocations: 59.41 kB / 0.6196 GB, free: 15.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.5997, allocations: 187 kB / 0.6198 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.5997, allocations: 29.7 kB / 0.6198 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5999, allocations: 183.3 kB / 0.62 GB, free: 15.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.5999, allocations: 71.03 kB / 0.6201 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.6, allocations: 37.7 kB / 0.6201 GB, free: 15.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6001, allocations: 326.8 kB / 0.6204 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.6003, allocations: 72.64 kB / 0.6205 GB, free: 14.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.6005, allocations: 264 kB / 0.6207 GB, free: 14.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.601, allocations: 367 kB / 0.6211 GB, free: 14.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.601, allocations: 0 / 0.6211 GB, free: 14.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005759/0.6016, allocations: 372.4 kB / 0.6214 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6016, allocations: 8 kB / 0.6214 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6016, allocations: 8 kB / 0.6214 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6016, allocations: 12.03 kB / 0.6215 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.602, allocations: 127.8 kB / 0.6216 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003601/0.6024, allocations: 0.6055 MB / 0.6222 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.6026, allocations: 43.53 kB / 0.6222 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.6027, allocations: 39.98 kB / 0.6223 GB, free: 12.95 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.0001575/0.6029, allocations: 149.8 kB / 0.6224 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.6029, allocations: 19.81 kB / 0.6224 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009524/0.6039, allocations: 470.5 kB / 0.6229 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.6039, allocations: 0 / 0.6229 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6039, allocations: 0 / 0.6229 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6039, allocations: 3.984 kB / 0.6229 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008587/0.6048, allocations: 0.6391 MB / 0.6235 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6048, allocations: 0 / 0.6235 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.605, allocations: 60.77 kB / 0.6235 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.605, allocations: 4 kB / 0.6236 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6051, allocations: 12 kB / 0.6236 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.6054, allocations: 0.5979 MB / 0.6241 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6054, allocations: 3.938 kB / 0.6242 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.6058, allocations: 298.2 kB / 0.6244 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6059, allocations: 112.8 kB / 0.6245 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.6059, allocations: 8.812 kB / 0.6246 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.6062, allocations: 11.98 kB / 0.6246 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.6062, allocations: 19.98 kB / 0.6246 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.6063, allocations: 19.98 kB / 0.6246 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.6064, allocations: 135.6 kB / 0.6247 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6064, allocations: 0 / 0.6247 GB, free: 10.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.6071, allocations: 168 kB / 0.6249 GB, free: 10.04 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.0005927/0.6077, allocations: 283.7 kB / 0.6252 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.6081, allocations: 220.5 kB / 0.6254 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6082, allocations: 4 kB / 0.6254 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.6084, allocations: 77.28 kB / 0.6255 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.609, allocations: 71.94 kB / 0.6255 GB, free: 9.402 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.6104, allocations: 0.946 MB / 0.6264 GB, free: 8.402 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.6107, allocations: 0.7248 MB / 0.6272 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007887/0.6115, allocations: 387.4 kB / 0.6275 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.6117, allocations: 63.38 kB / 0.6276 GB, free: 7.207 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6117, allocations: 0 / 0.6276 GB, free: 7.207 MB / 462.1 MB Notification: Performance of Templates: time 0.009724/0.6214, allocations: 5.512 MB / 0.633 GB, free: 1.73 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/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