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.00113/0.00113, allocations: 95.27 kB / 16.98 MB, free: 5.934 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.00123/0.00123, allocations: 186.2 kB / 17.88 MB, free: 5.594 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.367/1.367, allocations: 223.2 MB / 241.8 MB, free: 388 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.2248/0.2248, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 61.92 MB / 471.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4762/0.6114, allocations: 126.2 MB / 0.5836 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006644/0.6181, allocations: 4.967 MB / 0.5884 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.6184, allocations: 4 kB / 0.5885 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.6187, allocations: 47.72 kB / 0.5885 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.6225, allocations: 1.072 MB / 0.5895 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.6229, allocations: 134.6 kB / 0.5897 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.6233, allocations: 259.5 kB / 0.5899 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.6234, allocations: 13.67 kB / 0.5899 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.6237, allocations: 171.5 kB / 0.5901 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.624, allocations: 155.6 kB / 0.5902 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.624, allocations: 4 kB / 0.5902 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.627, allocations: 1.057 MB / 0.5913 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.6271, allocations: 47.81 kB / 0.5913 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.6271, allocations: 65.64 kB / 0.5914 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.6282, allocations: 0.571 MB / 0.5919 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6282, allocations: 0 / 0.5919 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6282, allocations: 4 kB / 0.5919 GB, free: 11.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.6282, allocations: 0 / 0.5919 GB, free: 11.29 MB / 430.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.001323/0.6295, allocations: 0.6207 MB / 0.5926 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6296, allocations: 19.97 kB / 0.5926 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007235/0.6368, allocations: 0.581 MB / 0.5931 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.6375, allocations: 251.2 kB / 0.5934 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.6376, allocations: 131.4 kB / 0.5935 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6377, allocations: 20 kB / 0.5935 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.639, allocations: 0.5556 MB / 0.5941 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.639, allocations: 3.938 kB / 0.5941 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/0.6391, allocations: 12 kB / 0.5941 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.6391, allocations: 7.938 kB / 0.5941 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.6405, allocations: 0.6299 MB / 0.5947 GB, free: 8.32 MB / 430.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.002156/0.6427, allocations: 1.707 MB / 0.5964 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.643, allocations: 164.7 kB / 0.5965 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.6444, allocations: 1.249 MB / 0.5978 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.6444, allocations: 38.52 kB / 0.5978 GB, free: 4.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 4.418e-06/0.6444, allocations: 3.984 kB / 0.5978 GB, free: 4.766 MB / 430.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.001068/0.6455, allocations: 323.5 kB / 0.5981 GB, free: 4.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.6456, allocations: 59.41 kB / 0.5982 GB, free: 4.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.6458, allocations: 194.9 kB / 0.5983 GB, free: 4.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.6458, allocations: 29.7 kB / 0.5984 GB, free: 4.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.6459, allocations: 179.3 kB / 0.5985 GB, free: 3.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.646, allocations: 67.09 kB / 0.5986 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.646, allocations: 8 kB / 0.5986 GB, free: 3.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6462, allocations: 330.8 kB / 0.5989 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.6464, allocations: 60.72 kB / 0.599 GB, free: 3.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.6467, allocations: 260 kB / 0.5992 GB, free: 3.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.6469, allocations: 103.9 kB / 0.5993 GB, free: 3.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6469, allocations: 3.953 kB / 0.5993 GB, free: 3.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006106/0.6475, allocations: 365.4 kB / 0.5997 GB, free: 2.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6475, allocations: 8 kB / 0.5997 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6475, allocations: 8 kB / 0.5997 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.6476, allocations: 12 kB / 0.5997 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.648, allocations: 123.8 kB / 0.5998 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004459/0.6485, allocations: 0.6019 MB / 0.6004 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.6487, allocations: 51.53 kB / 0.6005 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/0.6488, allocations: 47.94 kB / 0.6005 GB, free: 1.809 MB / 430.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 (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.000153/0.649, allocations: 137.7 kB / 0.6006 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.649, allocations: 15.81 kB / 0.6007 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009771/0.65, allocations: 465.3 kB / 0.6011 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.65, allocations: 0 / 0.6011 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.65, allocations: 3.984 kB / 0.6011 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.65, allocations: 4 kB / 0.6011 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009323/0.651, allocations: 0.6274 MB / 0.6017 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.651, allocations: 7.938 kB / 0.6017 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.6512, allocations: 64.14 kB / 0.6018 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.6512, allocations: 11.95 kB / 0.6018 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.6513, allocations: 9.984 kB / 0.6018 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003702/0.6517, allocations: 0.5938 MB / 0.6024 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.6517, allocations: 0 / 0.6024 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.6521, allocations: 398.5 kB / 0.6028 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6523, allocations: 112.8 kB / 0.6029 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.6523, allocations: 8 kB / 0.6029 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.6526, allocations: 15.98 kB / 0.6029 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.6526, allocations: 19.94 kB / 0.6029 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.6527, allocations: 23.92 kB / 0.6029 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.6528, allocations: 131.1 kB / 0.6031 GB, free: 14.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6528, allocations: 0 / 0.6031 GB, free: 14.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007395/0.6536, allocations: 167.9 kB / 0.6032 GB, free: 14.77 MB / 446.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 (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.000683/0.6542, allocations: 270.7 kB / 0.6035 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.6548, allocations: 223.7 kB / 0.6037 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6548, allocations: 0 / 0.6037 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.655, allocations: 85.52 kB / 0.6038 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.6554, allocations: 52.64 kB / 0.6038 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.6564, allocations: 0.5522 MB / 0.6044 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.6568, allocations: 0.7289 MB / 0.6051 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008259/0.6576, allocations: 391.4 kB / 0.6055 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.6578, allocations: 59.39 kB / 0.6055 GB, free: 12.36 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6578, allocations: 0 / 0.6055 GB, free: 12.36 MB / 446.1 MB Notification: Performance of Templates: time 0.01022/0.668, allocations: 5.172 MB / 0.6106 GB, free: 7.211 MB / 446.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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches