Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 100.5 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3439/0.3439, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009657/0.0009657, allocations: 47.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3275, allocations: 60.8 MB / 0.5064 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1557/0.4832, allocations: 147.9 MB / 0.6508 GB, free: 11.73 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.489, allocations: 5.399 MB / 0.6561 GB, free: 6.316 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.4892, allocations: 0 / 0.6561 GB, free: 6.316 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.4896, allocations: 51.72 kB / 0.6561 GB, free: 6.266 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.4932, allocations: 1.162 MB / 0.6573 GB, free: 5.105 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.4935, allocations: 135.4 kB / 0.6574 GB, free: 4.977 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.4941, allocations: 474 kB / 0.6579 GB, free: 4.512 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.4941, allocations: 9.688 kB / 0.6579 GB, free: 4.504 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.4944, allocations: 171.3 kB / 0.658 GB, free: 4.336 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.4947, allocations: 179.4 kB / 0.6582 GB, free: 4.16 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.4947, allocations: 4 kB / 0.6582 GB, free: 4.156 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.4967, allocations: 1.053 MB / 0.6592 GB, free: 3.102 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.4968, allocations: 51.73 kB / 0.6593 GB, free: 3.051 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.4969, allocations: 111.5 kB / 0.6594 GB, free: 2.941 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.4984, allocations: 0.8537 MB / 0.6602 GB, free: 2.086 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4984, allocations: 7.938 kB / 0.6602 GB, free: 2.078 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.4984, allocations: 4 kB / 0.6602 GB, free: 2.074 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.4984, allocations: 0 / 0.6602 GB, free: 2.074 MB / 474.7 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.001239/0.4997, allocations: 0.6866 MB / 0.6609 GB, free: 1.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4997, allocations: 8.031 kB / 0.6609 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007678/0.5074, allocations: 0.5897 MB / 0.6615 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.5079, allocations: 263.4 kB / 0.6617 GB, free: 456 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.5081, allocations: 119.4 kB / 0.6619 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.5082, allocations: 27.98 kB / 0.6619 GB, free: 280 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5094, allocations: 0.5595 MB / 0.6624 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5094, allocations: 7.938 kB / 0.6624 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.829e-05/0.5095, allocations: 12 kB / 0.6624 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.5095, allocations: 8 kB / 0.6625 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.511, allocations: 0.6299 MB / 0.6631 GB, free: 15.02 MB / 490.7 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.002089/0.5131, allocations: 1.719 MB / 0.6647 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.5134, allocations: 154.5 kB / 0.6649 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.5136, allocations: 76.78 kB / 0.665 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.5148, allocations: 1.475 MB / 0.6664 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.5148, allocations: 30.56 kB / 0.6664 GB, free: 11.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.5148, allocations: 0 / 0.6664 GB, free: 11.15 MB / 490.7 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=19): time 0.0009595/0.5158, allocations: 334.4 kB / 0.6668 GB, free: 10.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5158, allocations: 59.39 kB / 0.6668 GB, free: 10.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.516, allocations: 183.1 kB / 0.667 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.5161, allocations: 25.7 kB / 0.667 GB, free: 10.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.5162, allocations: 183.2 kB / 0.6672 GB, free: 10.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.5162, allocations: 67.08 kB / 0.6673 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.5164, allocations: 97.95 kB / 0.6673 GB, free: 10.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5165, allocations: 330.8 kB / 0.6677 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.5166, allocations: 68.7 kB / 0.6677 GB, free: 9.785 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.5169, allocations: 264 kB / 0.668 GB, free: 9.434 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.5173, allocations: 364.6 kB / 0.6683 GB, free: 8.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5173, allocations: 4 kB / 0.6683 GB, free: 8.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000606/0.5179, allocations: 369.4 kB / 0.6687 GB, free: 8.613 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5179, allocations: 11.98 kB / 0.6687 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.518, allocations: 11.98 kB / 0.6687 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.518, allocations: 12 kB / 0.6687 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.5184, allocations: 127.8 kB / 0.6688 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003527/0.5188, allocations: 0.6056 MB / 0.6694 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.519, allocations: 51.59 kB / 0.6695 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.5191, allocations: 36 kB / 0.6695 GB, free: 7.738 MB / 490.7 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.0001352/0.5192, allocations: 149.6 kB / 0.6697 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.5193, allocations: 19.75 kB / 0.6697 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009867/0.5203, allocations: 453.9 kB / 0.6701 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.5203, allocations: 0 / 0.6701 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5203, allocations: 0 / 0.6701 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5203, allocations: 0 / 0.6701 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/0.5212, allocations: 0.6429 MB / 0.6707 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5212, allocations: 4 kB / 0.6707 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.5214, allocations: 55.97 kB / 0.6708 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5215, allocations: 4.234 kB / 0.6708 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.5215, allocations: 16 kB / 0.6708 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003415/0.5218, allocations: 0.5938 MB / 0.6714 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5218, allocations: 3.984 kB / 0.6714 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.5227, allocations: 0.9021 MB / 0.6723 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.5228, allocations: 116.8 kB / 0.6724 GB, free: 4.543 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.5229, allocations: 8 kB / 0.6724 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.5232, allocations: 15.98 kB / 0.6724 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.5232, allocations: 19.92 kB / 0.6724 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.5233, allocations: 15.98 kB / 0.6724 GB, free: 4.484 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.5234, allocations: 141.2 kB / 0.6726 GB, free: 4.348 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5234, allocations: 0 / 0.6726 GB, free: 4.348 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007943/0.5242, allocations: 164 kB / 0.6727 GB, free: 4.188 MB / 490.7 MB 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.000773/0.525, allocations: 289.7 kB / 0.673 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.5255, allocations: 217 kB / 0.6732 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.5255, allocations: 4.375 kB / 0.6732 GB, free: 3.691 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.5257, allocations: 83.89 kB / 0.6733 GB, free: 3.609 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.5263, allocations: 72.31 kB / 0.6734 GB, free: 3.539 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.528, allocations: 1.039 MB / 0.6744 GB, free: 2.441 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5282, allocations: 0.7287 MB / 0.6751 GB, free: 1.684 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007827/0.529, allocations: 375.2 kB / 0.6755 GB, free: 1.312 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.5292, allocations: 59.38 kB / 0.6755 GB, free: 1.254 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5292, allocations: 0 / 0.6755 GB, free: 1.254 MB / 490.7 MB Notification: Performance of Templates: time 0.2155/0.7447, allocations: 5.598 MB / 0.681 GB, free: 144 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches