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.001351/0.001351, allocations: 112.5 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.001283/0.001283, allocations: 188.1 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.484/1.484, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2158/0.2158, allocations: 43.53 MB / 314.1 MB, free: 456 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.001999/0.002, allocations: 73.44 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1089, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4169/0.5259, allocations: 151.4 MB / 0.6353 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.5321, allocations: 4.704 MB / 0.6399 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.5322, allocations: 8 kB / 0.6399 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.5325, allocations: 63.58 kB / 0.6399 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.5367, allocations: 1.544 MB / 0.6414 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.5371, allocations: 145.5 kB / 0.6416 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000614/0.5377, allocations: 394.1 kB / 0.6419 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.5378, allocations: 13.67 kB / 0.642 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.5381, allocations: 172 kB / 0.6421 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.5384, allocations: 167.4 kB / 0.6423 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.5385, allocations: 8 kB / 0.6423 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.5413, allocations: 1.301 MB / 0.6436 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.5414, allocations: 51.75 kB / 0.6436 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.5416, allocations: 99.53 kB / 0.6437 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.5433, allocations: 0.974 MB / 0.6447 GB, free: 9.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5433, allocations: 8 kB / 0.6447 GB, free: 9.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5433, allocations: 0 / 0.6447 GB, free: 9.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.5433, allocations: 0 / 0.6447 GB, free: 9.836 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.001447/0.5448, allocations: 0.7202 MB / 0.6454 GB, free: 9.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5448, allocations: 11.89 kB / 0.6454 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.423e-05/0.5449, allocations: 62.73 kB / 0.6454 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007285/0.5522, allocations: 0.598 MB / 0.646 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.5527, allocations: 268 kB / 0.6463 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.5529, allocations: 127.3 kB / 0.6464 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.553, allocations: 24 kB / 0.6464 GB, free: 7.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5542, allocations: 0.5595 MB / 0.647 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.5542, allocations: 0 / 0.647 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.5543, allocations: 12 kB / 0.647 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5543, allocations: 7.984 kB / 0.647 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.5558, allocations: 0.6337 MB / 0.6476 GB, free: 6.664 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.002136/0.558, allocations: 1.646 MB / 0.6492 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.5583, allocations: 154.5 kB / 0.6494 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.5585, allocations: 80.44 kB / 0.6494 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/0.5608, allocations: 2.076 MB / 0.6515 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.5609, allocations: 38.56 kB / 0.6515 GB, free: 2.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.5609, allocations: 0 / 0.6515 GB, free: 2.168 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.001017/0.5619, allocations: 337.5 kB / 0.6518 GB, free: 1.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.562, allocations: 55.41 kB / 0.6519 GB, free: 1.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.5622, allocations: 178.2 kB / 0.652 GB, free: 1.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.5622, allocations: 29.7 kB / 0.6521 GB, free: 1.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.5624, allocations: 191.8 kB / 0.6523 GB, free: 1.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.5624, allocations: 71.44 kB / 0.6523 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.5626, allocations: 93.95 kB / 0.6524 GB, free: 1.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5627, allocations: 334.7 kB / 0.6527 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.5629, allocations: 64.7 kB / 0.6528 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.5632, allocations: 267.8 kB / 0.6531 GB, free: 440 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.5637, allocations: 371.3 kB / 0.6534 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5637, allocations: 1.312 kB / 0.6534 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006003/0.5643, allocations: 370.1 kB / 0.6538 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5643, allocations: 10.5 kB / 0.6538 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5643, allocations: 8 kB / 0.6538 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.5644, allocations: 12 kB / 0.6538 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.5648, allocations: 119.8 kB / 0.6539 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004144/0.5652, allocations: 0.6097 MB / 0.6545 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.5654, allocations: 39.67 kB / 0.6545 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.5655, allocations: 43.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.0001505/0.5656, allocations: 149.6 kB / 0.6547 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.5657, allocations: 15.91 kB / 0.6547 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.5664, allocations: 341.9 kB / 0.6551 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5664, allocations: 4 kB / 0.6551 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5664, allocations: 0 / 0.6551 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5664, allocations: 0 / 0.6551 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.5671, allocations: 0.5258 MB / 0.6556 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5672, allocations: 1.188 kB / 0.6556 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.5674, allocations: 59.91 kB / 0.6556 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5674, allocations: 0 / 0.6556 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.5674, allocations: 11.98 kB / 0.6556 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000336/0.5677, allocations: 0.5862 MB / 0.6562 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5678, allocations: 12.03 kB / 0.6562 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.5681, allocations: 267.6 kB / 0.6565 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5682, allocations: 116.9 kB / 0.6566 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.5683, allocations: 12 kB / 0.6566 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.5685, allocations: 11.98 kB / 0.6566 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.5686, allocations: 19.92 kB / 0.6566 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.5686, allocations: 15.98 kB / 0.6567 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001241/0.5687, allocations: 139 kB / 0.6568 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5687, allocations: 3.938 kB / 0.6568 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000665/0.5694, allocations: 207.5 kB / 0.657 GB, free: 12.11 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.001352/0.5708, allocations: 1.061 MB / 0.658 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.5713, allocations: 221 kB / 0.6582 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5713, allocations: 0 / 0.6582 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.5715, allocations: 88.39 kB / 0.6583 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.572, allocations: 64.47 kB / 0.6584 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.5778, allocations: 4.126 MB / 0.6624 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5781, allocations: 0.7206 MB / 0.6631 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003713/0.5785, allocations: 102.2 kB / 0.6632 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.5787, allocations: 71.41 kB / 0.6633 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.5787, allocations: 0 / 0.6633 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.6143, allocations: 8.853 MB / 0.6719 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.27, allocations: 19.33 kB / 0.6719 GB, free: 12.44 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