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/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 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 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) 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001234, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001606/0.001606, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.19 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1061, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4084/0.5145, allocations: 150.1 MB / 0.605 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00666/0.5212, allocations: 5.315 MB / 0.6102 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.5215, allocations: 0 / 0.6102 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.5219, allocations: 55.59 kB / 0.6102 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004529/0.5265, allocations: 1.317 MB / 0.6115 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.5269, allocations: 152.1 kB / 0.6116 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.5277, allocations: 390.2 kB / 0.612 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.57e-05/0.5277, allocations: 13.67 kB / 0.612 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.5281, allocations: 171.3 kB / 0.6122 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.5285, allocations: 171.5 kB / 0.6124 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.5286, allocations: 8 kB / 0.6124 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.5314, allocations: 1.041 MB / 0.6134 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.5315, allocations: 47.81 kB / 0.6134 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.5318, allocations: 103.5 kB / 0.6135 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.5344, allocations: 0.8537 MB / 0.6144 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.5344, allocations: 8 kB / 0.6144 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5344, allocations: 0 / 0.6144 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.5344, allocations: 0 / 0.6144 GB, free: 0.8438 MB / 446.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.001748/0.5362, allocations: 0.6757 MB / 0.615 GB, free: 124 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5363, allocations: 15.97 kB / 0.615 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.5363, allocations: 62.67 kB / 0.6151 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008146/0.5445, allocations: 0.5898 MB / 0.6157 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.545, allocations: 263.5 kB / 0.6159 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.5451, allocations: 119.4 kB / 0.616 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.5453, allocations: 28 kB / 0.6161 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.5466, allocations: 0.5595 MB / 0.6166 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5466, allocations: 7.922 kB / 0.6166 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.5467, allocations: 8 kB / 0.6166 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.5468, allocations: 11.94 kB / 0.6166 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5482, allocations: 0.6299 MB / 0.6173 GB, free: 13.72 MB / 462.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.002383/0.5506, allocations: 1.703 MB / 0.6189 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.551, allocations: 158.5 kB / 0.6191 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.5512, allocations: 80.81 kB / 0.6191 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/0.5528, allocations: 1.467 MB / 0.6206 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5528, allocations: 34.56 kB / 0.6206 GB, free: 9.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.5528, allocations: 0 / 0.6206 GB, free: 9.844 MB / 462.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=19): time 0.001109/0.5539, allocations: 328 kB / 0.6209 GB, free: 9.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.554, allocations: 59.34 kB / 0.621 GB, free: 9.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.5542, allocations: 178.5 kB / 0.6212 GB, free: 9.266 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.5543, allocations: 33.69 kB / 0.6212 GB, free: 9.227 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.5544, allocations: 183.3 kB / 0.6214 GB, free: 9.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.5545, allocations: 71.09 kB / 0.6214 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.5546, allocations: 97.81 kB / 0.6215 GB, free: 8.871 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5548, allocations: 330.8 kB / 0.6218 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5549, allocations: 64.7 kB / 0.6219 GB, free: 8.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.5553, allocations: 267.8 kB / 0.6222 GB, free: 8.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.5558, allocations: 363.7 kB / 0.6225 GB, free: 7.672 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.5558, allocations: 8 kB / 0.6225 GB, free: 7.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006848/0.5565, allocations: 369.9 kB / 0.6229 GB, free: 7.297 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5565, allocations: 8 kB / 0.6229 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.5566, allocations: 8 kB / 0.6229 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.5566, allocations: 8 kB / 0.6229 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.557, allocations: 135.7 kB / 0.623 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003583/0.5574, allocations: 0.6036 MB / 0.6236 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.5577, allocations: 44.41 kB / 0.6236 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.5578, allocations: 43.98 kB / 0.6237 GB, free: 6.43 MB / 462.1 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.0001487/0.5579, allocations: 141.7 kB / 0.6238 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.558, allocations: 15.81 kB / 0.6238 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000998/0.559, allocations: 465.9 kB / 0.6243 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.559, allocations: 0 / 0.6243 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.559, allocations: 0 / 0.6243 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.559, allocations: 3.984 kB / 0.6243 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.5601, allocations: 0.6508 MB / 0.6249 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5601, allocations: 4 kB / 0.6249 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.5603, allocations: 56.22 kB / 0.625 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.5604, allocations: 4 kB / 0.625 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.5604, allocations: 15.98 kB / 0.625 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003901/0.5608, allocations: 0.5938 MB / 0.6256 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5608, allocations: 4 kB / 0.6256 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.5613, allocations: 299 kB / 0.6259 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5614, allocations: 100.8 kB / 0.626 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.5614, allocations: 19.92 kB / 0.626 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.5617, allocations: 8 kB / 0.626 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.5618, allocations: 19.92 kB / 0.626 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.5618, allocations: 19.98 kB / 0.626 GB, free: 3.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.562, allocations: 139.6 kB / 0.6262 GB, free: 3.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.562, allocations: 3.938 kB / 0.6262 GB, free: 3.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007129/0.5627, allocations: 163.8 kB / 0.6263 GB, free: 3.531 MB / 462.1 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.001452/0.5641, allocations: 1.003 MB / 0.6273 GB, free: 2.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.5647, allocations: 229.2 kB / 0.6275 GB, free: 2.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5647, allocations: 4.188 kB / 0.6275 GB, free: 2.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.565, allocations: 79.83 kB / 0.6276 GB, free: 2.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.5656, allocations: 72.59 kB / 0.6277 GB, free: 2.117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.5698, allocations: 2.99 MB / 0.6306 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.5701, allocations: 0.7207 MB / 0.6313 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008089/0.5709, allocations: 391.1 kB / 0.6317 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.5711, allocations: 87.38 kB / 0.6317 GB, free: 13.6 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5711, allocations: 0 / 0.6317 GB, free: 13.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.6001, allocations: 7.784 MB / 0.6393 GB, free: 5.941 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.84, allocations: 8.062 kB / 0.6394 GB, free: 5.934 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.csv","/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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches