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.001245/0.001245, allocations: 108.2 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.00127/0.00127, allocations: 182.9 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.4/1.4, allocations: 222.9 MB / 243 MB, free: 15.15 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.2208/0.2208, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.69 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 60.82 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4858/0.6133, allocations: 150.1 MB / 0.6063 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006763/0.6201, allocations: 5.306 MB / 0.6115 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.6203, allocations: 8 kB / 0.6115 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.6207, allocations: 55.59 kB / 0.6115 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.625, allocations: 1.308 MB / 0.6128 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.6254, allocations: 142.6 kB / 0.6129 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000656/0.6261, allocations: 402.1 kB / 0.6133 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.6261, allocations: 13.69 kB / 0.6133 GB, free: 2.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.6264, allocations: 167.3 kB / 0.6135 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.6268, allocations: 171.5 kB / 0.6137 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.6268, allocations: 8 kB / 0.6137 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.6298, allocations: 1.084 MB / 0.6147 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.6299, allocations: 47.75 kB / 0.6148 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.63, allocations: 107.5 kB / 0.6149 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.632, allocations: 0.8576 MB / 0.6157 GB, free: 296 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.632, allocations: 0 / 0.6157 GB, free: 296 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.632, allocations: 0 / 0.6157 GB, free: 296 kB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.632, allocations: 0 / 0.6157 GB, free: 296 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.001408/0.6334, allocations: 0.6795 MB / 0.6164 GB, free: 15.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6335, allocations: 12.03 kB / 0.6164 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/0.6406, allocations: 0.5897 MB / 0.617 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.6413, allocations: 267.7 kB / 0.6172 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.6414, allocations: 123.4 kB / 0.6173 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.6415, allocations: 20 kB / 0.6174 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.6427, allocations: 0.5594 MB / 0.6179 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.6428, allocations: 4 kB / 0.6179 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.6429, allocations: 12 kB / 0.6179 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.6429, allocations: 8 kB / 0.6179 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.6444, allocations: 0.6299 MB / 0.6185 GB, free: 13.24 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.002434/0.6469, allocations: 1.714 MB / 0.6202 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.6472, allocations: 160.1 kB / 0.6204 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.6474, allocations: 76.83 kB / 0.6204 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.6489, allocations: 1.463 MB / 0.6219 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.649, allocations: 42.48 kB / 0.6219 GB, free: 9.355 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.649, allocations: 4 kB / 0.6219 GB, free: 9.352 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.001026/0.65, allocations: 324.7 kB / 0.6222 GB, free: 9.031 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.6501, allocations: 51.41 kB / 0.6223 GB, free: 8.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.6502, allocations: 186.5 kB / 0.6225 GB, free: 8.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.6503, allocations: 29.7 kB / 0.6225 GB, free: 8.742 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6504, allocations: 179.3 kB / 0.6227 GB, free: 8.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.6505, allocations: 67.11 kB / 0.6227 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6506, allocations: 97.86 kB / 0.6228 GB, free: 8.395 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6508, allocations: 326.8 kB / 0.6231 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.6509, allocations: 76.58 kB / 0.6232 GB, free: 7.992 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.6513, allocations: 256.1 kB / 0.6234 GB, free: 7.648 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.6518, allocations: 376.3 kB / 0.6238 GB, free: 7.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.6518, allocations: 4 kB / 0.6238 GB, free: 7.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006034/0.6524, allocations: 364.8 kB / 0.6241 GB, free: 6.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.6525, allocations: 8.938 kB / 0.6242 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6525, allocations: 7.984 kB / 0.6242 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.6525, allocations: 16 kB / 0.6242 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.6529, allocations: 123.8 kB / 0.6243 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004739/0.6534, allocations: 0.6055 MB / 0.6249 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.6537, allocations: 43.53 kB / 0.6249 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.6537, allocations: 47.92 kB / 0.625 GB, free: 5.949 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.0001481/0.6539, allocations: 141.8 kB / 0.6251 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.654, allocations: 15.81 kB / 0.6251 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.6549, allocations: 467 kB / 0.6256 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.6549, allocations: 0 / 0.6256 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6549, allocations: 0 / 0.6256 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6549, allocations: 0 / 0.6256 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008837/0.6558, allocations: 0.6391 MB / 0.6262 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6558, allocations: 4 kB / 0.6262 GB, free: 4.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.656, allocations: 63.89 kB / 0.6263 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.656, allocations: 0 / 0.6263 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.6561, allocations: 8 kB / 0.6263 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002993/0.6564, allocations: 0.6033 MB / 0.6269 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6564, allocations: 0 / 0.6269 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.6567, allocations: 298.3 kB / 0.6271 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6569, allocations: 108.8 kB / 0.6272 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.6569, allocations: 7.938 kB / 0.6273 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.6572, allocations: 15.98 kB / 0.6273 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.6572, allocations: 19.98 kB / 0.6273 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.6572, allocations: 19.98 kB / 0.6273 GB, free: 3.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.6574, allocations: 143.5 kB / 0.6274 GB, free: 3.223 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6574, allocations: 0 / 0.6274 GB, free: 3.223 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007743/0.6582, allocations: 171.8 kB / 0.6276 GB, free: 3.055 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.000633/0.6588, allocations: 281.7 kB / 0.6279 GB, free: 2.789 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.6593, allocations: 224.1 kB / 0.6281 GB, free: 2.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6594, allocations: 0 / 0.6281 GB, free: 2.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.6596, allocations: 85.33 kB / 0.6282 GB, free: 2.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.6601, allocations: 71.03 kB / 0.6282 GB, free: 2.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6618, allocations: 0.8267 MB / 0.629 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.6622, allocations: 0.7206 MB / 0.6298 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006796/0.6629, allocations: 383.1 kB / 0.6301 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.663, allocations: 63.39 kB / 0.6302 GB, free: 364 kB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6631, allocations: 0 / 0.6302 GB, free: 364 kB / 462.1 MB Notification: Performance of Templates: time 0.01025/0.6733, allocations: 5.639 MB / 0.6357 GB, free: 10.75 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 cvode -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