Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001263/0.001263, allocations: 106.3 kB / 16.27 MB, free: 6.41 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.001573/0.001573, allocations: 191.1 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 67.06 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5459/0.6645, allocations: 151.4 MB / 0.578 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005753/0.6703, allocations: 4.705 MB / 0.5826 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.6706, allocations: 0 / 0.5826 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.6711, allocations: 59.89 kB / 0.5827 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.6762, allocations: 1.546 MB / 0.5842 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.6766, allocations: 151.1 kB / 0.5843 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.6772, allocations: 400.8 kB / 0.5847 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.6772, allocations: 15.05 kB / 0.5847 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.6775, allocations: 169.4 kB / 0.5849 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.6778, allocations: 167.3 kB / 0.585 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.6779, allocations: 11.69 kB / 0.585 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.6811, allocations: 1.215 MB / 0.5862 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.6813, allocations: 43.55 kB / 0.5863 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.6814, allocations: 102.9 kB / 0.5864 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.6834, allocations: 0.9757 MB / 0.5873 GB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6834, allocations: 0 / 0.5873 GB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6835, allocations: 0 / 0.5873 GB, free: 10.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.6835, allocations: 0 / 0.5873 GB, free: 10.74 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.001428/0.6849, allocations: 0.718 MB / 0.588 GB, free: 10.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.685, allocations: 13.98 kB / 0.588 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00777/0.6927, allocations: 0.5881 MB / 0.5886 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.6933, allocations: 261.9 kB / 0.5889 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.6934, allocations: 130.2 kB / 0.589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/0.6935, allocations: 19.75 kB / 0.589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.6947, allocations: 0.5587 MB / 0.5895 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6947, allocations: 0 / 0.5895 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.6948, allocations: 9.562 kB / 0.5896 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.6948, allocations: 10.78 kB / 0.5896 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.6962, allocations: 0.637 MB / 0.5902 GB, free: 9.117 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.002289/0.6985, allocations: 1.629 MB / 0.5918 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.6989, allocations: 170.2 kB / 0.5919 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.6991, allocations: 77.84 kB / 0.592 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/0.7014, allocations: 2.078 MB / 0.594 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.7015, allocations: 34.56 kB / 0.5941 GB, free: 5.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 2.315e-06/0.7015, allocations: 0 / 0.5941 GB, free: 5.566 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=20): time 0.001046/0.7025, allocations: 338.1 kB / 0.5944 GB, free: 5.477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.7026, allocations: 63.73 kB / 0.5945 GB, free: 5.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.7027, allocations: 180.4 kB / 0.5946 GB, free: 5.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.7028, allocations: 28.2 kB / 0.5947 GB, free: 5.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.7029, allocations: 177 kB / 0.5948 GB, free: 5.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.703, allocations: 73.41 kB / 0.5949 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.7031, allocations: 89.56 kB / 0.595 GB, free: 5.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7032, allocations: 336.2 kB / 0.5953 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.7034, allocations: 63.72 kB / 0.5954 GB, free: 4.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.7037, allocations: 266.5 kB / 0.5956 GB, free: 4.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.7042, allocations: 368.5 kB / 0.596 GB, free: 4.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7042, allocations: 0 / 0.596 GB, free: 4.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000648/0.7048, allocations: 372.1 kB / 0.5963 GB, free: 3.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.7049, allocations: 11.94 kB / 0.5963 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.7049, allocations: 5.281 kB / 0.5963 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.342e-05/0.705, allocations: 9.531 kB / 0.5963 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.7054, allocations: 126.9 kB / 0.5965 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005542/0.706, allocations: 0.6022 MB / 0.5971 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.7062, allocations: 41.19 kB / 0.5971 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.7063, allocations: 42.95 kB / 0.5971 GB, free: 3.328 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 (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.0001999/0.7065, allocations: 149.6 kB / 0.5973 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.7066, allocations: 20.62 kB / 0.5973 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/0.7074, allocations: 326.7 kB / 0.5976 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.7074, allocations: 3.938 kB / 0.5976 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7074, allocations: 0 / 0.5976 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7074, allocations: 7.156 kB / 0.5976 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.7081, allocations: 0.5273 MB / 0.5981 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7081, allocations: 0 / 0.5981 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.7084, allocations: 58.67 kB / 0.5982 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.7084, allocations: 2.594 kB / 0.5982 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.7084, allocations: 7.969 kB / 0.5982 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000333/0.7087, allocations: 0.6012 MB / 0.5988 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7088, allocations: 7.281 kB / 0.5988 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.7091, allocations: 276.2 kB / 0.5991 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.7093, allocations: 105.8 kB / 0.5992 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.7093, allocations: 6.469 kB / 0.5992 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.7096, allocations: 15.98 kB / 0.5992 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.7096, allocations: 15.64 kB / 0.5992 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.7097, allocations: 24.23 kB / 0.5992 GB, free: 1.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.7098, allocations: 137 kB / 0.5994 GB, free: 1.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7098, allocations: 3.938 kB / 0.5994 GB, free: 1.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008708/0.7107, allocations: 197.8 kB / 0.5995 GB, free: 1.539 MB / 430.1 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 (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.0009542/0.7116, allocations: 349.3 kB / 0.5999 GB, free: 1.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.7122, allocations: 231.3 kB / 0.6001 GB, free: 1.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7122, allocations: 2 kB / 0.6001 GB, free: 1.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.7124, allocations: 83.8 kB / 0.6002 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.713, allocations: 70.59 kB / 0.6002 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.7162, allocations: 1.971 MB / 0.6022 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.7165, allocations: 0.725 MB / 0.6029 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005179/0.717, allocations: 95.47 kB / 0.603 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.7172, allocations: 44.91 kB / 0.603 GB, free: 15.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.7172, allocations: 0 / 0.603 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Templates: time 0.01227/0.7294, allocations: 6.589 MB / 0.6094 GB, free: 12.44 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches