Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001338, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001626, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2573/0.2573, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4101, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2093/0.6194, allocations: 153 MB / 0.6805 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006305/0.6258, allocations: 5.314 MB / 0.6856 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.6259, allocations: 4 kB / 0.6856 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.6263, allocations: 55.59 kB / 0.6857 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.6303, allocations: 1.32 MB / 0.687 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.6306, allocations: 152.7 kB / 0.6871 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.6311, allocations: 394.1 kB / 0.6875 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.6312, allocations: 9.688 kB / 0.6875 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.6315, allocations: 175.3 kB / 0.6877 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.6318, allocations: 163.5 kB / 0.6878 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.6318, allocations: 8 kB / 0.6879 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.634, allocations: 1.102 MB / 0.6889 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.6341, allocations: 55.73 kB / 0.689 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.6342, allocations: 103.5 kB / 0.6891 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.6356, allocations: 0.8594 MB / 0.6899 GB, free: 14.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6356, allocations: 0 / 0.6899 GB, free: 14.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6356, allocations: 3.938 kB / 0.6899 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.6356, allocations: 0 / 0.6899 GB, free: 14.39 MB / 0.545 GB 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.001285/0.6369, allocations: 0.681 MB / 0.6906 GB, free: 13.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.6369, allocations: 13.47 kB / 0.6906 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007524/0.6445, allocations: 0.6053 MB / 0.6912 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.6452, allocations: 267.3 kB / 0.6914 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.6453, allocations: 131.3 kB / 0.6916 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.6454, allocations: 20 kB / 0.6916 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.6466, allocations: 0.5634 MB / 0.6921 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6466, allocations: 4 kB / 0.6921 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.6467, allocations: 8 kB / 0.6922 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.6467, allocations: 12 kB / 0.6922 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.6482, allocations: 0.6299 MB / 0.6928 GB, free: 11.32 MB / 0.545 GB 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.002177/0.6504, allocations: 1.717 MB / 0.6945 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.6508, allocations: 150.5 kB / 0.6946 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.6509, allocations: 76.81 kB / 0.6947 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.6524, allocations: 1.479 MB / 0.6961 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.6524, allocations: 38.5 kB / 0.6962 GB, free: 7.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.063e-06/0.6524, allocations: 4 kB / 0.6962 GB, free: 7.43 MB / 0.545 GB 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.00109/0.6535, allocations: 328.2 kB / 0.6965 GB, free: 7.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.6536, allocations: 51.41 kB / 0.6965 GB, free: 7.043 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.6538, allocations: 186.5 kB / 0.6967 GB, free: 6.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.6538, allocations: 29.7 kB / 0.6967 GB, free: 6.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.654, allocations: 183.3 kB / 0.6969 GB, free: 6.629 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.6541, allocations: 71.02 kB / 0.697 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.6542, allocations: 93.95 kB / 0.6971 GB, free: 6.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6544, allocations: 330.8 kB / 0.6974 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.6545, allocations: 64.7 kB / 0.6974 GB, free: 6.066 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.6548, allocations: 260 kB / 0.6977 GB, free: 5.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.6553, allocations: 370.1 kB / 0.698 GB, free: 5.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6553, allocations: 4 kB / 0.698 GB, free: 5.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006137/0.6559, allocations: 372.9 kB / 0.6984 GB, free: 4.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.656, allocations: 8 kB / 0.6984 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.656, allocations: 8 kB / 0.6984 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.656, allocations: 12 kB / 0.6984 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.6564, allocations: 123.8 kB / 0.6985 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004337/0.6568, allocations: 0.6054 MB / 0.6991 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.6571, allocations: 47.53 kB / 0.6992 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.6571, allocations: 47.92 kB / 0.6992 GB, free: 4.02 MB / 0.545 GB 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.0001604/0.6573, allocations: 145.8 kB / 0.6994 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.6574, allocations: 19.75 kB / 0.6994 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/0.6582, allocations: 456 kB / 0.6998 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6582, allocations: 0 / 0.6998 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6582, allocations: 0 / 0.6998 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6583, allocations: 4 kB / 0.6998 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.6592, allocations: 0.6351 MB / 0.7004 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.6592, allocations: 7.984 kB / 0.7004 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.6594, allocations: 63.89 kB / 0.7005 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.6595, allocations: 4 kB / 0.7005 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.6595, allocations: 4 kB / 0.7005 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003743/0.6599, allocations: 0.6018 MB / 0.7011 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6599, allocations: 4 kB / 0.7011 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.6603, allocations: 294.1 kB / 0.7014 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.6604, allocations: 108.9 kB / 0.7015 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.6605, allocations: 11.84 kB / 0.7015 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.6607, allocations: 15.98 kB / 0.7015 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.6608, allocations: 15.98 kB / 0.7015 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.6608, allocations: 23.98 kB / 0.7016 GB, free: 1.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000144/0.661, allocations: 135.6 kB / 0.7017 GB, free: 1.281 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.661, allocations: 0 / 0.7017 GB, free: 1.281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000777/0.6618, allocations: 168 kB / 0.7018 GB, free: 1.117 MB / 0.545 GB 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.000758/0.6625, allocations: 284.1 kB / 0.7021 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005576/0.6631, allocations: 220.1 kB / 0.7023 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6631, allocations: 0 / 0.7023 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.6633, allocations: 89.39 kB / 0.7024 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.664, allocations: 64.19 kB / 0.7025 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.6657, allocations: 0.889 MB / 0.7033 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.6661, allocations: 0.7285 MB / 0.7041 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006295/0.6667, allocations: 375.4 kB / 0.7044 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.6669, allocations: 63.38 kB / 0.7045 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.6669, allocations: 3.938 kB / 0.7045 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.01085/0.6778, allocations: 5.789 MB / 0.7101 GB, free: 8.59 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches