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.001146/0.001146, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001182/0.001182, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.353/1.353, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2087/0.2087, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 60.23 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3967/0.5152, allocations: 150.1 MB / 0.6049 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.5213, allocations: 5.309 MB / 0.61 GB, free: 5.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.5215, allocations: 4 kB / 0.6101 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.5219, allocations: 59.59 kB / 0.6101 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.5258, allocations: 1.315 MB / 0.6114 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.5261, allocations: 150.4 kB / 0.6115 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.5267, allocations: 394.1 kB / 0.6119 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.5268, allocations: 13.69 kB / 0.6119 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.5271, allocations: 163.4 kB / 0.6121 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.5274, allocations: 175.3 kB / 0.6122 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.5275, allocations: 12 kB / 0.6123 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.5299, allocations: 1.042 MB / 0.6133 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.5301, allocations: 47.81 kB / 0.6133 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.5303, allocations: 103.5 kB / 0.6134 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.5328, allocations: 0.8575 MB / 0.6143 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.5328, allocations: 0 / 0.6143 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5329, allocations: 0 / 0.6143 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.5329, allocations: 0 / 0.6143 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.002102/0.535, allocations: 0.6834 MB / 0.6149 GB, free: 144 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.535, allocations: 11.97 kB / 0.6149 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007964/0.543, allocations: 0.5897 MB / 0.6155 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.5436, allocations: 267.7 kB / 0.6158 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.5438, allocations: 119.4 kB / 0.6159 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.5439, allocations: 20 kB / 0.6159 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5452, allocations: 0.5595 MB / 0.6164 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5453, allocations: 7.938 kB / 0.6165 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5454, allocations: 8 kB / 0.6165 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.5454, allocations: 12 kB / 0.6165 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.5468, allocations: 0.6299 MB / 0.6171 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.002125/0.549, allocations: 1.711 MB / 0.6188 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.5493, allocations: 154.5 kB / 0.6189 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.5495, allocations: 79.75 kB / 0.619 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.5507, allocations: 1.467 MB / 0.6204 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5507, allocations: 38.56 kB / 0.6205 GB, free: 9.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.534e-06/0.5508, allocations: 0 / 0.6205 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.0009529/0.5517, allocations: 333.4 kB / 0.6208 GB, free: 9.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5518, allocations: 51.41 kB / 0.6208 GB, free: 9.547 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.5519, allocations: 182.5 kB / 0.621 GB, free: 9.359 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.552, allocations: 29.7 kB / 0.621 GB, free: 9.324 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5521, allocations: 187.3 kB / 0.6212 GB, free: 9.137 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.5521, allocations: 59.11 kB / 0.6213 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.5523, allocations: 101.9 kB / 0.6214 GB, free: 8.973 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5524, allocations: 326.8 kB / 0.6217 GB, free: 8.645 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.5526, allocations: 68.7 kB / 0.6217 GB, free: 8.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.5528, allocations: 260 kB / 0.622 GB, free: 8.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.5533, allocations: 374.2 kB / 0.6223 GB, free: 7.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5533, allocations: 0 / 0.6223 GB, free: 7.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006273/0.554, allocations: 369.5 kB / 0.6227 GB, free: 7.402 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.554, allocations: 12.16 kB / 0.6227 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.554, allocations: 8 kB / 0.6227 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5541, allocations: 11.94 kB / 0.6227 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.5544, allocations: 123.8 kB / 0.6228 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003396/0.5548, allocations: 0.6054 MB / 0.6234 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.5551, allocations: 47.53 kB / 0.6235 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.5551, allocations: 45.64 kB / 0.6235 GB, free: 6.531 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.0001463/0.5553, allocations: 145.8 kB / 0.6237 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.5553, allocations: 15.81 kB / 0.6237 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000975/0.5563, allocations: 459.4 kB / 0.6241 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5563, allocations: 0 / 0.6241 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5564, allocations: 4 kB / 0.6241 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5564, allocations: 0 / 0.6241 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008849/0.5573, allocations: 0.6457 MB / 0.6247 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.5573, allocations: 7.938 kB / 0.6248 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.5575, allocations: 55.95 kB / 0.6248 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5575, allocations: 4 kB / 0.6248 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.5575, allocations: 8 kB / 0.6248 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003062/0.5579, allocations: 0.6018 MB / 0.6254 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5579, allocations: 4 kB / 0.6254 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.5582, allocations: 296.8 kB / 0.6257 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.5584, allocations: 112.8 kB / 0.6258 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.5584, allocations: 7.938 kB / 0.6258 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.5587, allocations: 11.98 kB / 0.6258 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.5587, allocations: 19.92 kB / 0.6258 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.5588, allocations: 23.98 kB / 0.6259 GB, free: 3.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.5589, allocations: 135.6 kB / 0.626 GB, free: 3.801 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5589, allocations: 0 / 0.626 GB, free: 3.801 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007076/0.5596, allocations: 168 kB / 0.6262 GB, free: 3.637 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.0006379/0.5603, allocations: 270.4 kB / 0.6264 GB, free: 3.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.5609, allocations: 228.4 kB / 0.6266 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5609, allocations: 0 / 0.6266 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.5612, allocations: 81.33 kB / 0.6267 GB, free: 3.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.5618, allocations: 83.42 kB / 0.6268 GB, free: 2.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.5633, allocations: 0.8267 MB / 0.6276 GB, free: 2.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.5636, allocations: 0.7206 MB / 0.6283 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007965/0.5645, allocations: 384.1 kB / 0.6287 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.5646, allocations: 59.38 kB / 0.6287 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5647, allocations: 0 / 0.6287 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of Templates: time 0.01047/0.5751, allocations: 5.666 MB / 0.6343 GB, free: 11.31 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/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