Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008744/0.0008743, allocations: 173.5 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006942/0.0006941, allocations: 81.56 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2946/0.2946, allocations: 43.57 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 58.83 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3374/0.4496, allocations: 137.3 MB / 0.6134 GB, free: 13.6 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.4541, allocations: 4.351 MB / 0.6177 GB, free: 9.262 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.4543, allocations: 0 / 0.6177 GB, free: 9.262 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.4545, allocations: 39.73 kB / 0.6177 GB, free: 9.223 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.4577, allocations: 1.292 MB / 0.619 GB, free: 7.934 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.4581, allocations: 136.1 kB / 0.6191 GB, free: 7.809 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000539/0.4586, allocations: 414 kB / 0.6195 GB, free: 7.402 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.952e-05/0.4587, allocations: 16.61 kB / 0.6195 GB, free: 7.391 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.4589, allocations: 167.4 kB / 0.6197 GB, free: 7.227 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.4592, allocations: 167.5 kB / 0.6198 GB, free: 7.062 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.4593, allocations: 8 kB / 0.6198 GB, free: 7.055 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.4616, allocations: 1.177 MB / 0.621 GB, free: 5.875 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.4617, allocations: 45.12 kB / 0.621 GB, free: 5.832 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.4619, allocations: 129.2 kB / 0.6211 GB, free: 5.699 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000963/0.4629, allocations: 0.6761 MB / 0.6218 GB, free: 5.023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4629, allocations: 0 / 0.6218 GB, free: 5.023 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4629, allocations: 0 / 0.6218 GB, free: 5.023 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.4629, allocations: 0 / 0.6218 GB, free: 5.023 MB / 442.7 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.001175/0.4641, allocations: 0.6552 MB / 0.6224 GB, free: 4.324 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4641, allocations: 8.031 kB / 0.6224 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/0.4708, allocations: 0.5918 MB / 0.623 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.4713, allocations: 264.7 kB / 0.6233 GB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4714, allocations: 131.2 kB / 0.6234 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.4715, allocations: 24 kB / 0.6234 GB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.4726, allocations: 0.5609 MB / 0.624 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4726, allocations: 4.625 kB / 0.624 GB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.4727, allocations: 12 kB / 0.624 GB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.4728, allocations: 8 kB / 0.624 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.4741, allocations: 0.6299 MB / 0.6246 GB, free: 2.02 MB / 442.7 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.001996/0.4761, allocations: 1.623 MB / 0.6262 GB, free: 276 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.4765, allocations: 165.3 kB / 0.6264 GB, free: 104 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4766, allocations: 72.88 kB / 0.6264 GB, free: 28 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00194/0.4786, allocations: 2.081 MB / 0.6285 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4786, allocations: 42.06 kB / 0.6285 GB, free: 13.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.4786, allocations: 0 / 0.6285 GB, free: 13.55 MB / 458.7 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=20): time 0.0009566/0.4796, allocations: 340.5 kB / 0.6288 GB, free: 13.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.4796, allocations: 51.41 kB / 0.6289 GB, free: 13.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4798, allocations: 190.2 kB / 0.629 GB, free: 12.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4798, allocations: 33.7 kB / 0.6291 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.4799, allocations: 183.2 kB / 0.6293 GB, free: 12.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.48, allocations: 71 kB / 0.6293 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.48, allocations: 4 kB / 0.6293 GB, free: 12.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4801, allocations: 334.8 kB / 0.6296 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.4803, allocations: 68.7 kB / 0.6297 GB, free: 12.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.4805, allocations: 255.8 kB / 0.63 GB, free: 11.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.4809, allocations: 370.2 kB / 0.6303 GB, free: 11.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4809, allocations: 0 / 0.6303 GB, free: 11.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005577/0.4815, allocations: 369.6 kB / 0.6307 GB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4815, allocations: 8 kB / 0.6307 GB, free: 11.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4815, allocations: 4 kB / 0.6307 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4816, allocations: 12 kB / 0.6307 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.482, allocations: 119.8 kB / 0.6308 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003305/0.4823, allocations: 0.6055 MB / 0.6314 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4825, allocations: 51.59 kB / 0.6314 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.4826, allocations: 43.98 kB / 0.6315 GB, free: 10.22 MB / 458.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.4827, allocations: 141.7 kB / 0.6316 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.4828, allocations: 19.81 kB / 0.6316 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007591/0.4836, allocations: 333.6 kB / 0.632 GB, free: 9.715 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4836, allocations: 3.938 kB / 0.632 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4836, allocations: 3.5 kB / 0.632 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4836, allocations: 4 kB / 0.632 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.4843, allocations: 0.5141 MB / 0.6325 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4843, allocations: 4 kB / 0.6325 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.4845, allocations: 59.91 kB / 0.6325 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4845, allocations: 4.156 kB / 0.6325 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4845, allocations: 7.984 kB / 0.6325 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002838/0.4848, allocations: 0.5899 MB / 0.6331 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4848, allocations: 7.969 kB / 0.6331 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4852, allocations: 275.6 kB / 0.6334 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.4853, allocations: 116.8 kB / 0.6335 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.4853, allocations: 0 / 0.6335 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4855, allocations: 15.98 kB / 0.6335 GB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.4856, allocations: 23.86 kB / 0.6335 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.4856, allocations: 19.98 kB / 0.6336 GB, free: 7.934 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.4858, allocations: 128.7 kB / 0.6337 GB, free: 7.809 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4858, allocations: 0 / 0.6337 GB, free: 7.809 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007001/0.4865, allocations: 203.9 kB / 0.6339 GB, free: 7.609 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007937/0.4873, allocations: 356.9 kB / 0.6342 GB, free: 7.258 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.4877, allocations: 220.3 kB / 0.6344 GB, free: 7.043 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4878, allocations: 4 kB / 0.6344 GB, free: 7.039 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.488, allocations: 85.33 kB / 0.6345 GB, free: 6.957 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.4884, allocations: 50.16 kB / 0.6346 GB, free: 6.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.4914, allocations: 2.083 MB / 0.6366 GB, free: 4.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.4916, allocations: 0.7326 MB / 0.6373 GB, free: 4.023 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.4918, allocations: 59.39 kB / 0.6374 GB, free: 3.965 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4918, allocations: 0 / 0.6374 GB, free: 3.965 MB / 458.7 MB Notification: Performance of Templates: time 0.00796/0.4998, allocations: 5.731 MB / 0.643 GB, free: 14.24 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches