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.001434/0.001434, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 212.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.11 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 83.86 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3911, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1841/0.5753, allocations: 153 MB / 0.6811 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00636/0.5817, allocations: 5.318 MB / 0.6863 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.582, allocations: 7.938 kB / 0.6863 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.5824, allocations: 51.66 kB / 0.6864 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.5867, allocations: 1.332 MB / 0.6877 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.5871, allocations: 146.8 kB / 0.6878 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000652/0.5877, allocations: 386.1 kB / 0.6882 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.529e-05/0.5878, allocations: 13.67 kB / 0.6882 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.5882, allocations: 171.4 kB / 0.6884 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.5886, allocations: 175.4 kB / 0.6885 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.5886, allocations: 8 kB / 0.6885 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.5911, allocations: 1.092 MB / 0.6896 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.5913, allocations: 47.75 kB / 0.6896 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.5914, allocations: 103.5 kB / 0.6897 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.5935, allocations: 0.8672 MB / 0.6906 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5935, allocations: 0 / 0.6906 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5935, allocations: 7.938 kB / 0.6906 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.5936, allocations: 0 / 0.6906 GB, free: 14.45 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.00159/0.5951, allocations: 0.675 MB / 0.6913 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5952, allocations: 13.47 kB / 0.6913 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007455/0.6027, allocations: 0.6053 MB / 0.6919 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.6033, allocations: 267.4 kB / 0.6921 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.6035, allocations: 119.4 kB / 0.6922 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.6036, allocations: 24 kB / 0.6923 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.6048, allocations: 0.5634 MB / 0.6928 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6048, allocations: 7.922 kB / 0.6928 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.6049, allocations: 12 kB / 0.6928 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.605, allocations: 8 kB / 0.6928 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.6065, allocations: 0.6299 MB / 0.6934 GB, free: 11.39 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.002229/0.6087, allocations: 1.718 MB / 0.6951 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.6091, allocations: 151.5 kB / 0.6953 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.6092, allocations: 80.8 kB / 0.6953 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.6108, allocations: 1.483 MB / 0.6968 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.6108, allocations: 34.56 kB / 0.6968 GB, free: 7.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.334e-06/0.6108, allocations: 0 / 0.6968 GB, free: 7.492 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.001031/0.6119, allocations: 332.3 kB / 0.6971 GB, free: 7.164 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.6119, allocations: 51.41 kB / 0.6972 GB, free: 7.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.6121, allocations: 182.5 kB / 0.6974 GB, free: 6.914 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.6121, allocations: 29.7 kB / 0.6974 GB, free: 6.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.6122, allocations: 183.2 kB / 0.6976 GB, free: 6.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.6123, allocations: 75 kB / 0.6976 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.6124, allocations: 93.95 kB / 0.6977 GB, free: 6.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6126, allocations: 334.8 kB / 0.698 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.6127, allocations: 64.7 kB / 0.6981 GB, free: 6.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.613, allocations: 256 kB / 0.6984 GB, free: 5.777 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.6135, allocations: 370.2 kB / 0.6987 GB, free: 5.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6135, allocations: 4 kB / 0.6987 GB, free: 5.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006461/0.6141, allocations: 374.3 kB / 0.6991 GB, free: 4.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6142, allocations: 8 kB / 0.6991 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6142, allocations: 8 kB / 0.6991 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.6142, allocations: 8 kB / 0.6991 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.6146, allocations: 123.8 kB / 0.6992 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003567/0.615, allocations: 0.6055 MB / 0.6998 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.6153, allocations: 47.78 kB / 0.6998 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.6154, allocations: 47.92 kB / 0.6999 GB, free: 4.078 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.0001518/0.6155, allocations: 144.7 kB / 0.7 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.6156, allocations: 19.75 kB / 0.7 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/0.6164, allocations: 459.4 kB / 0.7005 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.6164, allocations: 0 / 0.7005 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6165, allocations: 3.938 kB / 0.7005 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6165, allocations: 4 kB / 0.7005 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009008/0.6174, allocations: 0.6351 MB / 0.7011 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6174, allocations: 4 kB / 0.7011 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.6176, allocations: 64.19 kB / 0.7012 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6176, allocations: 4 kB / 0.7012 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.6177, allocations: 11.94 kB / 0.7012 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003072/0.618, allocations: 0.5938 MB / 0.7018 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.618, allocations: 4 kB / 0.7018 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.6184, allocations: 294.1 kB / 0.7021 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6185, allocations: 108.9 kB / 0.7022 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.6186, allocations: 19.84 kB / 0.7022 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.6188, allocations: 11.98 kB / 0.7022 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.6189, allocations: 19.92 kB / 0.7022 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.6189, allocations: 19.98 kB / 0.7022 GB, free: 1.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001281/0.6191, allocations: 139.6 kB / 0.7024 GB, free: 1.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6191, allocations: 0 / 0.7024 GB, free: 1.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000696/0.6198, allocations: 164 kB / 0.7025 GB, free: 1.176 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.0007359/0.6205, allocations: 282.4 kB / 0.7028 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.6211, allocations: 221.1 kB / 0.703 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.6211, allocations: 0 / 0.703 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.6213, allocations: 92.33 kB / 0.7031 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.6218, allocations: 66.12 kB / 0.7032 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.6235, allocations: 0.9105 MB / 0.704 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.6238, allocations: 0.7245 MB / 0.7047 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.6241, allocations: 83.36 kB / 0.7048 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.6241, allocations: 0 / 0.7048 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.009206/0.6333, allocations: 5.562 MB / 0.7103 GB, free: 9.172 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches