Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, 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.001771/0.001771, 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.411/1.411, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 77.12 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1336, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4318/0.5655, allocations: 153.3 MB / 0.6186 GB, free: 10 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.5732, allocations: 6.827 MB / 0.6252 GB, free: 3.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.5734, allocations: 0 / 0.6252 GB, free: 3.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.5738, allocations: 83.48 kB / 0.6253 GB, free: 3.098 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005547/0.5794, allocations: 2.204 MB / 0.6275 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.5798, allocations: 144.9 kB / 0.6276 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.5804, allocations: 0.5139 MB / 0.6281 GB, free: 244 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.5805, allocations: 20.3 kB / 0.6281 GB, free: 224 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.581, allocations: 255 kB / 0.6284 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008782/0.5819, allocations: 478.6 kB / 0.6288 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.5819, allocations: 12 kB / 0.6288 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005238/0.5872, allocations: 2.771 MB / 0.6316 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.5874, allocations: 167.5 kB / 0.6317 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.5877, allocations: 207.1 kB / 0.6319 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.5917, allocations: 1.926 MB / 0.6338 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5917, allocations: 0 / 0.6338 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5917, allocations: 0 / 0.6338 GB, free: 10.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.5918, allocations: 0 / 0.6338 GB, free: 10.41 MB / 478.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.0027/0.5945, allocations: 0.9721 MB / 0.6347 GB, free: 9.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5945, allocations: 12.03 kB / 0.6347 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.822e-05/0.5946, allocations: 86.64 kB / 0.6348 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.6073, allocations: 1.273 MB / 0.6361 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.6082, allocations: 379.6 kB / 0.6364 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.6084, allocations: 139.4 kB / 0.6366 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.6087, allocations: 28 kB / 0.6366 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.6114, allocations: 1.437 MB / 0.638 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6115, allocations: 3.938 kB / 0.638 GB, free: 5.941 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.6117, allocations: 16 kB / 0.638 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.315e-05/0.6117, allocations: 52.97 kB / 0.6381 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00524/0.617, allocations: 2.623 MB / 0.6406 GB, free: 3.25 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.005132/0.6221, allocations: 3.844 MB / 0.6444 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.6224, allocations: 82.58 kB / 0.6445 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.6225, allocations: 37 kB / 0.6445 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004382/0.6269, allocations: 3.273 MB / 0.6477 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.6269, allocations: 42.56 kB / 0.6477 GB, free: 10.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 4.599e-06/0.6269, allocations: 0 / 0.6477 GB, free: 10.98 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=12): time 0.001302/0.6282, allocations: 336.5 kB / 0.6481 GB, free: 10.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.6283, allocations: 55.34 kB / 0.6481 GB, free: 10.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.6287, allocations: 393.2 kB / 0.6485 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.6288, allocations: 29.7 kB / 0.6485 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.629, allocations: 376.9 kB / 0.6489 GB, free: 9.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.6291, allocations: 51.44 kB / 0.6489 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.6293, allocations: 174.3 kB / 0.6491 GB, free: 9.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.6295, allocations: 346.7 kB / 0.6494 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.6298, allocations: 117.9 kB / 0.6495 GB, free: 9.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.6303, allocations: 0.5703 MB / 0.6501 GB, free: 8.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.6311, allocations: 0.7549 MB / 0.6508 GB, free: 7.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.6312, allocations: 4 kB / 0.6508 GB, free: 7.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001124/0.6323, allocations: 0.6928 MB / 0.6515 GB, free: 6.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6323, allocations: 12 kB / 0.6515 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.6323, allocations: 16.88 kB / 0.6515 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.6324, allocations: 20 kB / 0.6516 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.6329, allocations: 199.6 kB / 0.6517 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003957/0.6333, allocations: 0.6136 MB / 0.6523 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.6338, allocations: 94.97 kB / 0.6524 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.6338, allocations: 64 kB / 0.6525 GB, free: 5.586 MB / 494.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.0002052/0.6341, allocations: 209.4 kB / 0.6527 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6342, allocations: 35.56 kB / 0.6527 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.6345, allocations: 175 kB / 0.6529 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6346, allocations: 0 / 0.6529 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6346, allocations: 4.875 kB / 0.6529 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6346, allocations: 0 / 0.6529 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.6352, allocations: 479.9 kB / 0.6534 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6352, allocations: 4.062 kB / 0.6534 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.6353, allocations: 27.98 kB / 0.6534 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6353, allocations: 3.984 kB / 0.6534 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.6354, allocations: 4.875 kB / 0.6534 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003718/0.6357, allocations: 0.586 MB / 0.654 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6357, allocations: 0 / 0.654 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.636, allocations: 217 kB / 0.6542 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.6362, allocations: 112.7 kB / 0.6543 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.6363, allocations: 15.92 kB / 0.6543 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.6365, allocations: 8.688 kB / 0.6543 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.6365, allocations: 7.984 kB / 0.6543 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.6366, allocations: 8 kB / 0.6543 GB, free: 3.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.6368, allocations: 251.1 kB / 0.6546 GB, free: 3.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6368, allocations: 4 kB / 0.6546 GB, free: 3.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001176/0.638, allocations: 347.8 kB / 0.6549 GB, free: 2.969 MB / 494.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.00236/0.6404, allocations: 1.293 MB / 0.6562 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.6411, allocations: 347.5 kB / 0.6565 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.6411, allocations: 4.125 kB / 0.6565 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.6412, allocations: 35.92 kB / 0.6565 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.6417, allocations: 40.16 kB / 0.6566 GB, free: 1.238 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.655, allocations: 9.343 MB / 0.6657 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.6554, allocations: 0.7879 MB / 0.6665 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000774/0.6562, allocations: 259.2 kB / 0.6667 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.6564, allocations: 119.4 kB / 0.6668 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.6564, allocations: 3.938 kB / 0.6668 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.6957, allocations: 12.6 MB / 0.6791 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.42, allocations: 7.922 kB / 0.6791 GB, free: 9.676 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches