Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008397/0.0008397, allocations: 98.67 kB / 295.1 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3492/0.3492, allocations: 44.31 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004917, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3523, allocations: 61.91 MB / 0.5127 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.141/0.4934, allocations: 138.4 MB / 0.6479 GB, free: 3.031 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006563/0.5, allocations: 7.986 MB / 0.6557 GB, free: 10.33 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.5001, allocations: 0 / 0.6557 GB, free: 10.33 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.5004, allocations: 43.73 kB / 0.6557 GB, free: 10.29 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.5034, allocations: 1.157 MB / 0.6569 GB, free: 9.125 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.5037, allocations: 127.8 kB / 0.657 GB, free: 9 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.5042, allocations: 470 kB / 0.6574 GB, free: 8.539 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.5043, allocations: 9.688 kB / 0.6574 GB, free: 8.531 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.5045, allocations: 183.2 kB / 0.6576 GB, free: 8.352 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.5048, allocations: 179.4 kB / 0.6578 GB, free: 8.176 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.5049, allocations: 8 kB / 0.6578 GB, free: 8.168 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.5068, allocations: 1.019 MB / 0.6588 GB, free: 7.148 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.5069, allocations: 47.77 kB / 0.6588 GB, free: 7.102 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.5071, allocations: 133.2 kB / 0.659 GB, free: 6.965 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.5083, allocations: 0.8614 MB / 0.6598 GB, free: 6.102 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5084, allocations: 0 / 0.6598 GB, free: 6.102 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5084, allocations: 0 / 0.6598 GB, free: 6.102 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.5084, allocations: 0 / 0.6598 GB, free: 6.102 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.001085/0.5095, allocations: 0.6204 MB / 0.6604 GB, free: 5.434 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5095, allocations: 12.03 kB / 0.6604 GB, free: 5.422 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006539/0.5161, allocations: 0.5857 MB / 0.661 GB, free: 4.836 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.5165, allocations: 267.4 kB / 0.6612 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.5166, allocations: 123.4 kB / 0.6614 GB, free: 4.387 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/0.5167, allocations: 20 kB / 0.6614 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.5177, allocations: 0.5633 MB / 0.6619 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5178, allocations: 0 / 0.6619 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.5178, allocations: 12 kB / 0.6619 GB, free: 3.758 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.5179, allocations: 8 kB / 0.6619 GB, free: 3.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.5192, allocations: 0.626 MB / 0.6626 GB, free: 3.121 MB / 474.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.001931/0.5212, allocations: 1.714 MB / 0.6642 GB, free: 1.266 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.5215, allocations: 150.5 kB / 0.6644 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.5217, allocations: 84.75 kB / 0.6645 GB, free: 1.023 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.523, allocations: 1.464 MB / 0.6659 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5231, allocations: 38.56 kB / 0.6659 GB, free: 15.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.112e-06/0.5231, allocations: 0 / 0.6659 GB, free: 15.25 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.0009275/0.524, allocations: 331.4 kB / 0.6662 GB, free: 14.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.524, allocations: 51.41 kB / 0.6663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.5242, allocations: 186 kB / 0.6665 GB, free: 14.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.5242, allocations: 33.64 kB / 0.6665 GB, free: 14.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.5244, allocations: 187.2 kB / 0.6667 GB, free: 14.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.5244, allocations: 71.09 kB / 0.6667 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.5244, allocations: 4 kB / 0.6667 GB, free: 14.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5246, allocations: 330.8 kB / 0.6671 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5247, allocations: 64.7 kB / 0.6671 GB, free: 13.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.525, allocations: 260 kB / 0.6674 GB, free: 13.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.5255, allocations: 362.2 kB / 0.6677 GB, free: 13.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5255, allocations: 3.938 kB / 0.6677 GB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005926/0.5261, allocations: 369.9 kB / 0.6681 GB, free: 12.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5261, allocations: 8 kB / 0.6681 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5261, allocations: 8 kB / 0.6681 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.5261, allocations: 8 kB / 0.6681 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.5266, allocations: 120.6 kB / 0.6682 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004478/0.527, allocations: 0.6132 MB / 0.6688 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.5273, allocations: 47.53 kB / 0.6689 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.5274, allocations: 39.98 kB / 0.6689 GB, free: 11.95 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.0001606/0.5275, allocations: 141.7 kB / 0.669 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.5276, allocations: 23.84 kB / 0.669 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008976/0.5285, allocations: 460.9 kB / 0.6695 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5285, allocations: 4 kB / 0.6695 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5285, allocations: 4 kB / 0.6695 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5286, allocations: 0 / 0.6695 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/0.5295, allocations: 0.6392 MB / 0.6701 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5295, allocations: 4 kB / 0.6701 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.5297, allocations: 59.95 kB / 0.6702 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.5297, allocations: 7.984 kB / 0.6702 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.5297, allocations: 4 kB / 0.6702 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003788/0.5301, allocations: 0.5976 MB / 0.6708 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5301, allocations: 4.031 kB / 0.6708 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.5305, allocations: 310.4 kB / 0.6711 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5306, allocations: 112.8 kB / 0.6712 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.5307, allocations: 11.94 kB / 0.6712 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.5309, allocations: 11.98 kB / 0.6712 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.531, allocations: 19.92 kB / 0.6712 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.531, allocations: 15.98 kB / 0.6712 GB, free: 9.328 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.5311, allocations: 145.2 kB / 0.6714 GB, free: 9.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5311, allocations: 0 / 0.6714 GB, free: 9.188 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005981/0.5317, allocations: 163.9 kB / 0.6715 GB, free: 9.027 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.0006019/0.5323, allocations: 277.5 kB / 0.6718 GB, free: 8.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.5328, allocations: 225.2 kB / 0.672 GB, free: 8.539 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5328, allocations: 4 kB / 0.672 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.533, allocations: 75.84 kB / 0.6721 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.5336, allocations: 76.48 kB / 0.6722 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.535, allocations: 0.9481 MB / 0.6731 GB, free: 7.391 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.5353, allocations: 0.7209 MB / 0.6738 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007773/0.5361, allocations: 387.4 kB / 0.6742 GB, free: 6.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.5363, allocations: 59.31 kB / 0.6742 GB, free: 6.203 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5363, allocations: 0 / 0.6742 GB, free: 6.203 MB / 490.7 MB Notification: Performance of Templates: time 0.009036/0.5454, allocations: 5.522 MB / 0.6796 GB, free: 0.7031 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/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