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.001453/0.001453, allocations: 110 kB / 17.03 MB, free: 6.102 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.001454/0.001454, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.602/1.602, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2301/0.2301, allocations: 43.54 MB / 314.7 MB, free: 468 kB / 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.001994/0.001995, allocations: 66.83 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1349, allocations: 57.8 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.552/0.687, allocations: 151.4 MB / 0.5794 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.6925, allocations: 4.702 MB / 0.584 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.6927, allocations: 2.094 kB / 0.584 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.693, allocations: 56.59 kB / 0.5841 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.6983, allocations: 1.546 MB / 0.5856 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.6986, allocations: 144.2 kB / 0.5857 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.6993, allocations: 399.5 kB / 0.5861 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.6994, allocations: 17.64 kB / 0.5861 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.6997, allocations: 167.8 kB / 0.5863 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.7, allocations: 172.4 kB / 0.5864 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.7, allocations: 7.406 kB / 0.5864 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/0.703, allocations: 1.303 MB / 0.5877 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.7031, allocations: 37.34 kB / 0.5877 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.7032, allocations: 114.2 kB / 0.5879 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.705, allocations: 0.9749 MB / 0.5888 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.705, allocations: 0 / 0.5888 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7051, allocations: 0 / 0.5888 GB, free: 11.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.7051, allocations: 0 / 0.5888 GB, free: 11.35 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.00147/0.7066, allocations: 0.7121 MB / 0.5895 GB, free: 10.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.7066, allocations: 14.14 kB / 0.5895 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/0.7136, allocations: 0.5871 MB / 0.5901 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.7142, allocations: 272.7 kB / 0.5903 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.7144, allocations: 128.2 kB / 0.5905 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.949e-05/0.7145, allocations: 21.97 kB / 0.5905 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.7156, allocations: 0.5648 MB / 0.591 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7156, allocations: 0 / 0.591 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.7157, allocations: 9.188 kB / 0.5911 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.7157, allocations: 7.281 kB / 0.5911 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.7171, allocations: 0.6308 MB / 0.5917 GB, free: 9.73 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.002099/0.7192, allocations: 1.636 MB / 0.5933 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.7195, allocations: 159.8 kB / 0.5934 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.7197, allocations: 77.97 kB / 0.5935 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/0.7217, allocations: 2.085 MB / 0.5955 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.7217, allocations: 36.47 kB / 0.5956 GB, free: 6.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.7217, allocations: 0 / 0.5956 GB, free: 6.176 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.000967/0.7227, allocations: 338.5 kB / 0.5959 GB, free: 6.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7228, allocations: 54.19 kB / 0.5959 GB, free: 6.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.7229, allocations: 178.7 kB / 0.5961 GB, free: 5.895 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.723, allocations: 35.06 kB / 0.5961 GB, free: 5.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.7231, allocations: 178.5 kB / 0.5963 GB, free: 5.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.7232, allocations: 75.78 kB / 0.5964 GB, free: 5.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.7233, allocations: 85.62 kB / 0.5965 GB, free: 5.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.7234, allocations: 328.5 kB / 0.5968 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.7235, allocations: 71.45 kB / 0.5969 GB, free: 5.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.7238, allocations: 262.9 kB / 0.5971 GB, free: 5.016 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.7242, allocations: 372.2 kB / 0.5975 GB, free: 4.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.7243, allocations: 10.33 kB / 0.5975 GB, free: 4.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005735/0.7248, allocations: 358.7 kB / 0.5978 GB, free: 4.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.7249, allocations: 9.375 kB / 0.5978 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.7249, allocations: 9.328 kB / 0.5978 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.7249, allocations: 14.16 kB / 0.5978 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.7253, allocations: 116.1 kB / 0.598 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/0.7257, allocations: 0.616 MB / 0.5986 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.7259, allocations: 38.44 kB / 0.5986 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.726, allocations: 43.33 kB / 0.5986 GB, free: 3.938 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.0001383/0.7261, allocations: 144.3 kB / 0.5988 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.7262, allocations: 18.19 kB / 0.5988 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.7269, allocations: 320.5 kB / 0.5991 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.7269, allocations: 6.875 kB / 0.5991 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7269, allocations: 4.984 kB / 0.5991 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7269, allocations: 3.938 kB / 0.5991 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.7277, allocations: 0.5309 MB / 0.5996 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7277, allocations: 3.188 kB / 0.5996 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.7279, allocations: 58.39 kB / 0.5997 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.7279, allocations: 5.953 kB / 0.5997 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.7279, allocations: 5.688 kB / 0.5997 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003097/0.7283, allocations: 0.6013 MB / 0.6003 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.7283, allocations: 7.922 kB / 0.6003 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.7286, allocations: 272.5 kB / 0.6006 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.7287, allocations: 109.4 kB / 0.6007 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.7288, allocations: 9.938 kB / 0.6007 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.729, allocations: 8.297 kB / 0.6007 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.7291, allocations: 19.33 kB / 0.6007 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.7291, allocations: 14.84 kB / 0.6007 GB, free: 2.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.7292, allocations: 131.5 kB / 0.6008 GB, free: 2.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7292, allocations: 4 kB / 0.6008 GB, free: 2.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007414/0.73, allocations: 205.2 kB / 0.601 GB, free: 2.156 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.0007973/0.7308, allocations: 342 kB / 0.6014 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.7313, allocations: 237.1 kB / 0.6016 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7313, allocations: 4.031 kB / 0.6016 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.7315, allocations: 86.27 kB / 0.6017 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.7321, allocations: 74.64 kB / 0.6017 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.7352, allocations: 1.962 MB / 0.6037 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.7356, allocations: 0.7173 MB / 0.6044 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.736, allocations: 99.55 kB / 0.6045 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.7361, allocations: 41.34 kB / 0.6045 GB, free: 380 kB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.7361, allocations: 0 / 0.6045 GB, free: 380 kB / 430.1 MB Notification: Performance of Templates: time 0.01273/0.7488, allocations: 6.594 MB / 0.6109 GB, free: 13.12 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/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