Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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.001683/0.001689, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002014/0.002014, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.413/1.413, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2073/0.2073, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.22 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 60.81 MB / 469.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4094/0.5242, allocations: 150.4 MB / 0.6052 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.5318, allocations: 6.837 MB / 0.6119 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.5321, allocations: 0 / 0.6119 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.5326, allocations: 79.55 kB / 0.612 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.5383, allocations: 2.198 MB / 0.6141 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.5386, allocations: 154.8 kB / 0.6143 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008098/0.5395, allocations: 0.51 MB / 0.6148 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.899e-05/0.5395, allocations: 12.31 kB / 0.6148 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.5401, allocations: 235.1 kB / 0.615 GB, free: 280 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009547/0.5411, allocations: 470.6 kB / 0.6155 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.5412, allocations: 12 kB / 0.6155 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00533/0.5465, allocations: 2.763 MB / 0.6182 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.5467, allocations: 167.5 kB / 0.6183 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.547, allocations: 207.1 kB / 0.6185 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004395/0.5514, allocations: 1.926 MB / 0.6204 GB, free: 10.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5515, allocations: 0 / 0.6204 GB, free: 10.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5515, allocations: 0 / 0.6204 GB, free: 10.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.5515, allocations: 0 / 0.6204 GB, free: 10.73 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003015/0.5545, allocations: 0.9606 MB / 0.6214 GB, free: 9.723 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5546, allocations: 12.03 kB / 0.6214 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.5547, allocations: 86.66 kB / 0.6215 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.5674, allocations: 1.276 MB / 0.6227 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.5681, allocations: 379.6 kB / 0.6231 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.5683, allocations: 131.4 kB / 0.6232 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.5685, allocations: 28 kB / 0.6232 GB, free: 7.746 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.5713, allocations: 1.433 MB / 0.6246 GB, free: 6.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5713, allocations: 7.938 kB / 0.6246 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.5715, allocations: 16 kB / 0.6246 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/0.5716, allocations: 56.95 kB / 0.6247 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0054/0.577, allocations: 2.623 MB / 0.6273 GB, free: 3.578 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.005059/0.582, allocations: 3.86 MB / 0.631 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.5823, allocations: 86.56 kB / 0.6311 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.5824, allocations: 33.83 kB / 0.6311 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003644/0.586, allocations: 3.238 MB / 0.6343 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.5861, allocations: 38.56 kB / 0.6343 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.5861, allocations: 0 / 0.6343 GB, free: 11.34 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=12): time 0.001301/0.5874, allocations: 337 kB / 0.6347 GB, free: 11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.5874, allocations: 63.34 kB / 0.6347 GB, free: 10.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.5879, allocations: 393.2 kB / 0.6351 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.5879, allocations: 25.7 kB / 0.6351 GB, free: 10.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.5882, allocations: 373 kB / 0.6355 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.5882, allocations: 55.44 kB / 0.6355 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.5885, allocations: 166.4 kB / 0.6357 GB, free: 9.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5886, allocations: 338.8 kB / 0.636 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.5888, allocations: 125.8 kB / 0.6361 GB, free: 9.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.5893, allocations: 0.5703 MB / 0.6367 GB, free: 8.652 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.5902, allocations: 0.747 MB / 0.6374 GB, free: 7.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.5902, allocations: 4 kB / 0.6374 GB, free: 7.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001222/0.5914, allocations: 0.693 MB / 0.6381 GB, free: 6.977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5915, allocations: 12 kB / 0.6381 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.5915, allocations: 23.58 kB / 0.6381 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.5915, allocations: 28 kB / 0.6382 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.5921, allocations: 187.6 kB / 0.6383 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003726/0.5924, allocations: 0.6172 MB / 0.6389 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.5929, allocations: 90.97 kB / 0.639 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.593, allocations: 67.98 kB / 0.6391 GB, free: 5.938 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * 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.000215/0.5932, allocations: 209.5 kB / 0.6393 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.5933, allocations: 39.56 kB / 0.6393 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.5937, allocations: 175.2 kB / 0.6395 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5938, allocations: 4 kB / 0.6395 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5938, allocations: 0 / 0.6395 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5938, allocations: 3.984 kB / 0.6395 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.5944, allocations: 480 kB / 0.64 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5944, allocations: 7.938 kB / 0.64 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.5946, allocations: 16 kB / 0.64 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5946, allocations: 4 kB / 0.64 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5946, allocations: 7.984 kB / 0.64 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003531/0.5949, allocations: 0.5861 MB / 0.6406 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.595, allocations: 4 kB / 0.6406 GB, free: 4.309 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.5952, allocations: 212.8 kB / 0.6408 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.5953, allocations: 120.7 kB / 0.6409 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.5954, allocations: 3.938 kB / 0.6409 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.5957, allocations: 11.98 kB / 0.6409 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.5957, allocations: 7.938 kB / 0.6409 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.5957, allocations: 11.98 kB / 0.6409 GB, free: 3.906 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.596, allocations: 247.2 kB / 0.6412 GB, free: 3.664 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.596, allocations: 0 / 0.6412 GB, free: 3.664 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001138/0.5971, allocations: 347.8 kB / 0.6415 GB, free: 3.324 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * 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.002236/0.5994, allocations: 1.293 MB / 0.6428 GB, free: 2.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006185/0.6, allocations: 339.6 kB / 0.6431 GB, free: 1.676 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6, allocations: 0 / 0.6431 GB, free: 1.676 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.6001, allocations: 37.02 kB / 0.6431 GB, free: 1.641 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.6006, allocations: 58.69 kB / 0.6432 GB, free: 1.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.6115, allocations: 7.957 MB / 0.6509 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.6118, allocations: 0.7879 MB / 0.6517 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007547/0.6126, allocations: 252.2 kB / 0.6519 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.6128, allocations: 115.4 kB / 0.6521 GB, free: 7.918 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6128, allocations: 0 / 0.6521 GB, free: 7.918 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.6489, allocations: 12.53 MB / 0.6643 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.16, allocations: 16.72 kB / 0.6643 GB, free: 11.52 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches