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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_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.001073/0.001073, allocations: 107.9 kB / 16.41 MB, free: 6.496 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.001088/0.001088, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2055/0.2055, allocations: 43.52 MB / 314.1 MB, free: 468 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.00134/0.00134, allocations: 71.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4325/0.5344, allocations: 151.4 MB / 0.6353 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.5402, allocations: 4.714 MB / 0.6399 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.5405, allocations: 0 / 0.6399 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.5409, allocations: 51.61 kB / 0.6399 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.545, allocations: 1.559 MB / 0.6414 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.5453, allocations: 153.4 kB / 0.6416 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.546, allocations: 394.1 kB / 0.642 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.546, allocations: 9.688 kB / 0.642 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.5464, allocations: 174.3 kB / 0.6421 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.5467, allocations: 167.5 kB / 0.6423 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.5467, allocations: 12 kB / 0.6423 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.5491, allocations: 1.306 MB / 0.6436 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.5492, allocations: 43.77 kB / 0.6436 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.5494, allocations: 103.6 kB / 0.6437 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.5512, allocations: 0.9746 MB / 0.6447 GB, free: 9.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5512, allocations: 4 kB / 0.6447 GB, free: 9.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5512, allocations: 0 / 0.6447 GB, free: 9.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.5512, allocations: 4 kB / 0.6447 GB, free: 9.844 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.001424/0.5526, allocations: 0.7236 MB / 0.6454 GB, free: 9.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5527, allocations: 15.89 kB / 0.6454 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.841e-05/0.5528, allocations: 58.67 kB / 0.6455 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007476/0.5603, allocations: 0.5941 MB / 0.646 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.5608, allocations: 268.1 kB / 0.6463 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5609, allocations: 127.3 kB / 0.6464 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5611, allocations: 16 kB / 0.6464 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.5622, allocations: 0.5634 MB / 0.647 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5623, allocations: 3.938 kB / 0.647 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.5623, allocations: 12 kB / 0.647 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.5624, allocations: 8 kB / 0.647 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.5639, allocations: 0.6298 MB / 0.6476 GB, free: 6.68 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.002422/0.5663, allocations: 1.646 MB / 0.6492 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.5667, allocations: 166.5 kB / 0.6494 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.5668, allocations: 72.83 kB / 0.6494 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.5687, allocations: 2.076 MB / 0.6515 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5688, allocations: 34.56 kB / 0.6515 GB, free: 2.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.5688, allocations: 0 / 0.6515 GB, free: 2.18 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.001021/0.5698, allocations: 345.5 kB / 0.6518 GB, free: 1.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.5698, allocations: 51.41 kB / 0.6519 GB, free: 1.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.57, allocations: 174.2 kB / 0.6521 GB, free: 1.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.5701, allocations: 33.7 kB / 0.6521 GB, free: 1.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.5702, allocations: 187.8 kB / 0.6523 GB, free: 1.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.5702, allocations: 71.42 kB / 0.6523 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.5704, allocations: 93.95 kB / 0.6524 GB, free: 1.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5705, allocations: 338.7 kB / 0.6527 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.5707, allocations: 64.7 kB / 0.6528 GB, free: 0.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.571, allocations: 267.8 kB / 0.6531 GB, free: 448 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.5715, allocations: 363.5 kB / 0.6534 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5715, allocations: 7.938 kB / 0.6534 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006489/0.5721, allocations: 369.6 kB / 0.6538 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5722, allocations: 8 kB / 0.6538 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5722, allocations: 4 kB / 0.6538 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.5722, allocations: 12 kB / 0.6538 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.5726, allocations: 119.8 kB / 0.6539 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003708/0.573, allocations: 0.6055 MB / 0.6545 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.5732, allocations: 43.86 kB / 0.6545 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.5733, allocations: 47.98 kB / 0.6546 GB, free: 14.75 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.0001381/0.5734, allocations: 145.6 kB / 0.6547 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.5735, allocations: 23.89 kB / 0.6547 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.5742, allocations: 331.1 kB / 0.6551 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5742, allocations: 0 / 0.6551 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5742, allocations: 0 / 0.6551 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5742, allocations: 0 / 0.6551 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.5748, allocations: 0.5298 MB / 0.6556 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5749, allocations: 0 / 0.6556 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.5751, allocations: 61.03 kB / 0.6556 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.5751, allocations: 4 kB / 0.6556 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5751, allocations: 4 kB / 0.6556 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002856/0.5754, allocations: 0.5939 MB / 0.6562 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5754, allocations: 3.938 kB / 0.6562 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.5758, allocations: 282 kB / 0.6565 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.5759, allocations: 108.9 kB / 0.6566 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.5759, allocations: 0 / 0.6566 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.5762, allocations: 23.92 kB / 0.6566 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.5762, allocations: 19.86 kB / 0.6566 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.5762, allocations: 19.98 kB / 0.6567 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001154/0.5764, allocations: 135 kB / 0.6568 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5764, allocations: 3.938 kB / 0.6568 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007393/0.5771, allocations: 207.5 kB / 0.657 GB, free: 12.12 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.001361/0.5785, allocations: 1.056 MB / 0.658 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004981/0.579, allocations: 231.5 kB / 0.6582 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.579, allocations: 1.875 kB / 0.6582 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.5792, allocations: 83.89 kB / 0.6583 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.5798, allocations: 68.62 kB / 0.6584 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.5851, allocations: 4.118 MB / 0.6624 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.5854, allocations: 0.7285 MB / 0.6631 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003739/0.5858, allocations: 99.78 kB / 0.6632 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.5859, allocations: 71.41 kB / 0.6633 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.5859, allocations: 3.938 kB / 0.6633 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.6141, allocations: 8.859 MB / 0.6719 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.51, allocations: 11.67 kB / 0.672 GB, free: 12.46 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/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