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.002034/0.002034, allocations: 106.8 kB / 16.41 MB, free: 6.457 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.002227/0.002227, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.704/1.704, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2276/0.2276, allocations: 43.52 MB / 314.1 MB, free: 448 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.001408/0.001408, allocations: 69.47 kB / 441.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1397, allocations: 57.78 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5405/0.6803, allocations: 151.4 MB / 0.6357 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005186/0.6855, allocations: 4.713 MB / 0.6403 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.6857, allocations: 4 kB / 0.6403 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.6862, allocations: 55.66 kB / 0.6404 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.69, allocations: 1.547 MB / 0.6419 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.6903, allocations: 143.8 kB / 0.642 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.6909, allocations: 394.1 kB / 0.6424 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.6909, allocations: 13.67 kB / 0.6424 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.6912, allocations: 171.2 kB / 0.6426 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.6915, allocations: 171.4 kB / 0.6428 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.6915, allocations: 12 kB / 0.6428 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.6939, allocations: 1.299 MB / 0.644 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.694, allocations: 47.81 kB / 0.6441 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.6942, allocations: 99.47 kB / 0.6442 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.6957, allocations: 0.9786 MB / 0.6451 GB, free: 9.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6957, allocations: 4 kB / 0.6451 GB, free: 9.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6957, allocations: 0 / 0.6451 GB, free: 9.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.6958, allocations: 0 / 0.6451 GB, free: 9.496 MB / 494.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.001335/0.6971, allocations: 0.7241 MB / 0.6458 GB, free: 8.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.6972, allocations: 15.89 kB / 0.6459 GB, free: 8.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007143/0.7043, allocations: 0.5903 MB / 0.6464 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.7048, allocations: 268.2 kB / 0.6467 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.7049, allocations: 127.3 kB / 0.6468 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.705, allocations: 27.94 kB / 0.6468 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.7062, allocations: 0.5595 MB / 0.6474 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.7062, allocations: 0 / 0.6474 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.7063, allocations: 12 kB / 0.6474 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.7063, allocations: 4 kB / 0.6474 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.7078, allocations: 0.6299 MB / 0.648 GB, free: 6.398 MB / 494.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.002153/0.71, allocations: 1.65 MB / 0.6496 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.7103, allocations: 154.5 kB / 0.6498 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.7105, allocations: 84.86 kB / 0.6499 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/0.7124, allocations: 2.071 MB / 0.6519 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.7124, allocations: 38.56 kB / 0.6519 GB, free: 1.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.7124, allocations: 0 / 0.6519 GB, free: 1.895 MB / 494.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.000983/0.7134, allocations: 345.4 kB / 0.6522 GB, free: 1.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.7135, allocations: 55.41 kB / 0.6523 GB, free: 1.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.7137, allocations: 174.2 kB / 0.6525 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.7137, allocations: 29.7 kB / 0.6525 GB, free: 1.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.7139, allocations: 179.9 kB / 0.6527 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.714, allocations: 83.34 kB / 0.6527 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.7141, allocations: 85.97 kB / 0.6528 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7143, allocations: 338.8 kB / 0.6532 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.7144, allocations: 64.72 kB / 0.6532 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.7147, allocations: 268.2 kB / 0.6535 GB, free: 160 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.7153, allocations: 371.6 kB / 0.6538 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7153, allocations: 0 / 0.6538 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005875/0.7159, allocations: 370.2 kB / 0.6542 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.7159, allocations: 8 kB / 0.6542 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7159, allocations: 11.62 kB / 0.6542 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.7159, allocations: 19.92 kB / 0.6542 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.7163, allocations: 119.8 kB / 0.6543 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.7167, allocations: 0.6055 MB / 0.6549 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.717, allocations: 44.02 kB / 0.655 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.717, allocations: 43.98 kB / 0.655 GB, free: 14.46 MB / 0.4981 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.0001348/0.7172, allocations: 149.5 kB / 0.6551 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.7172, allocations: 15.91 kB / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.7179, allocations: 330.7 kB / 0.6555 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.7179, allocations: 7.938 kB / 0.6555 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.718, allocations: 0 / 0.6555 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.718, allocations: 0 / 0.6555 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.7187, allocations: 0.5295 MB / 0.656 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7187, allocations: 0.75 kB / 0.656 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.7189, allocations: 63.89 kB / 0.6561 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.7189, allocations: 0 / 0.6561 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.7189, allocations: 8 kB / 0.6561 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003576/0.7193, allocations: 0.5899 MB / 0.6566 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.7193, allocations: 12.47 kB / 0.6567 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.7197, allocations: 267.9 kB / 0.6569 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.7198, allocations: 105 kB / 0.657 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.7199, allocations: 15.94 kB / 0.657 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.7201, allocations: 17.64 kB / 0.657 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.7201, allocations: 15.86 kB / 0.6571 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.7202, allocations: 19.98 kB / 0.6571 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001131/0.7203, allocations: 135.2 kB / 0.6572 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7203, allocations: 0 / 0.6572 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007083/0.721, allocations: 203.5 kB / 0.6574 GB, free: 11.84 MB / 0.4981 GB 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.0007945/0.7218, allocations: 371.4 kB / 0.6578 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.7223, allocations: 213.2 kB / 0.658 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.7223, allocations: 0 / 0.658 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.7225, allocations: 92.39 kB / 0.6581 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.723, allocations: 63.53 kB / 0.6581 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.7259, allocations: 1.97 MB / 0.66 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.7262, allocations: 0.7206 MB / 0.6607 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003383/0.7266, allocations: 102.1 kB / 0.6608 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.7267, allocations: 39.42 kB / 0.6609 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.7267, allocations: 0 / 0.6609 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of Templates: time 0.01036/0.7371, allocations: 6.595 MB / 0.6673 GB, free: 1.641 MB / 0.4981 GB 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