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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 70.3 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1378, allocations: 62.44 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4368/0.5746, allocations: 153 MB / 0.6183 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.5812, allocations: 5.311 MB / 0.6235 GB, free: 4.879 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.5815, allocations: 7.938 kB / 0.6235 GB, free: 4.871 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.582, allocations: 59.58 kB / 0.6235 GB, free: 4.812 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.5859, allocations: 1.32 MB / 0.6248 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.5863, allocations: 141.6 kB / 0.625 GB, free: 3.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.587, allocations: 394.2 kB / 0.6253 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.139e-05/0.5871, allocations: 17.67 kB / 0.6254 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.5875, allocations: 179.3 kB / 0.6255 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.5878, allocations: 163.5 kB / 0.6257 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.5879, allocations: 8 kB / 0.6257 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.5906, allocations: 1.06 MB / 0.6267 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.5907, allocations: 51.73 kB / 0.6268 GB, free: 1.504 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.5909, allocations: 107.5 kB / 0.6269 GB, free: 1.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.593, allocations: 0.8498 MB / 0.6277 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.593, allocations: 4 kB / 0.6277 GB, free: 0.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.593, allocations: 0 / 0.6277 GB, free: 0.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.593, allocations: 0 / 0.6277 GB, free: 0.543 MB / 462.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.001618/0.5946, allocations: 0.6834 MB / 0.6284 GB, free: 15.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/0.5947, allocations: 12.03 kB / 0.6284 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.5948, allocations: 62.72 kB / 0.6285 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008073/0.6029, allocations: 0.6058 MB / 0.6291 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.6035, allocations: 271.4 kB / 0.6293 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.6037, allocations: 123.4 kB / 0.6294 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.6038, allocations: 20 kB / 0.6294 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6051, allocations: 0.5595 MB / 0.63 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6051, allocations: 0 / 0.63 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.6052, allocations: 15.98 kB / 0.63 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.6053, allocations: 8 kB / 0.63 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.6067, allocations: 0.6299 MB / 0.6306 GB, free: 13.4 MB / 478.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.002297/0.6091, allocations: 1.721 MB / 0.6323 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.6094, allocations: 154 kB / 0.6325 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.6096, allocations: 75.28 kB / 0.6325 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/0.6114, allocations: 1.479 MB / 0.634 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6114, allocations: 42.56 kB / 0.634 GB, free: 9.504 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.6114, allocations: 0 / 0.634 GB, free: 9.504 MB / 478.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.001084/0.6125, allocations: 321.4 kB / 0.6343 GB, free: 9.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.6126, allocations: 59.41 kB / 0.6344 GB, free: 9.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.6128, allocations: 182.5 kB / 0.6346 GB, free: 8.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.6129, allocations: 29.7 kB / 0.6346 GB, free: 8.891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.613, allocations: 183.3 kB / 0.6348 GB, free: 8.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.613, allocations: 67.09 kB / 0.6348 GB, free: 8.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.6132, allocations: 93.88 kB / 0.6349 GB, free: 8.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.6134, allocations: 334.8 kB / 0.6352 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.6135, allocations: 64.72 kB / 0.6353 GB, free: 8.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.6138, allocations: 264 kB / 0.6355 GB, free: 7.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.6143, allocations: 370.7 kB / 0.6359 GB, free: 7.336 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.6144, allocations: 0.9375 kB / 0.6359 GB, free: 7.336 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007027/0.6151, allocations: 366.2 kB / 0.6362 GB, free: 6.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6151, allocations: 8.156 kB / 0.6363 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.6151, allocations: 12 kB / 0.6363 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.6152, allocations: 8 kB / 0.6363 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.6156, allocations: 127.8 kB / 0.6364 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004147/0.616, allocations: 0.6025 MB / 0.637 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.6163, allocations: 47.52 kB / 0.637 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.6164, allocations: 40.88 kB / 0.6371 GB, free: 6.109 MB / 478.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.0001832/0.6166, allocations: 145.8 kB / 0.6372 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.6166, allocations: 19.81 kB / 0.6372 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000994/0.6176, allocations: 464.8 kB / 0.6377 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6177, allocations: 4 kB / 0.6377 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6177, allocations: 3.984 kB / 0.6377 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6177, allocations: 0 / 0.6377 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.6186, allocations: 0.6397 MB / 0.6383 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6186, allocations: 4 kB / 0.6383 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.6188, allocations: 55.91 kB / 0.6384 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6188, allocations: 4 kB / 0.6384 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.6189, allocations: 11.98 kB / 0.6384 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003112/0.6192, allocations: 0.6018 MB / 0.639 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6192, allocations: 7.969 kB / 0.639 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.6196, allocations: 298.2 kB / 0.6393 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.6197, allocations: 108.8 kB / 0.6394 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.6198, allocations: 11.92 kB / 0.6394 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.62, allocations: 8 kB / 0.6394 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.6201, allocations: 19.98 kB / 0.6394 GB, free: 3.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.6201, allocations: 19.98 kB / 0.6394 GB, free: 3.508 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.6203, allocations: 131.9 kB / 0.6395 GB, free: 3.379 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6203, allocations: 0 / 0.6395 GB, free: 3.379 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006877/0.621, allocations: 172 kB / 0.6397 GB, free: 3.211 MB / 478.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.001182/0.6221, allocations: 1.008 MB / 0.6407 GB, free: 2.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.6227, allocations: 227.8 kB / 0.6409 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6227, allocations: 0 / 0.6409 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.6229, allocations: 81.45 kB / 0.641 GB, free: 1.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.6235, allocations: 70.94 kB / 0.6411 GB, free: 1.793 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.6273, allocations: 3.047 MB / 0.644 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.6276, allocations: 0.7246 MB / 0.6447 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007963/0.6284, allocations: 391 kB / 0.6451 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.6286, allocations: 91.38 kB / 0.6452 GB, free: 13.21 MB / 494.1 MB Notification: Performance of SimCode: time 6.52e-07/0.6286, allocations: 0 / 0.6452 GB, free: 13.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.6558, allocations: 7.847 MB / 0.6529 GB, free: 5.477 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.31, allocations: 19.53 kB / 0.6529 GB, free: 5.461 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches