Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_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.001475/0.001475, allocations: 103.9 kB / 16.4 MB, free: 5.961 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.001464/0.001465, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.487/1.487, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2161/0.2161, allocations: 43.52 MB / 314.1 MB, free: 452 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.003048/0.003049, allocations: 67.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1259, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4501/0.5761, allocations: 151.7 MB / 0.6356 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007715/0.5838, allocations: 6.23 MB / 0.6417 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.584, allocations: 3.938 kB / 0.6417 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.5844, allocations: 83.55 kB / 0.6417 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006168/0.5906, allocations: 2.447 MB / 0.6441 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.591, allocations: 153.3 kB / 0.6443 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.5918, allocations: 0.5138 MB / 0.6448 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.425e-05/0.5919, allocations: 16.31 kB / 0.6448 GB, free: 9.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.5924, allocations: 250.7 kB / 0.645 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009145/0.5933, allocations: 466.6 kB / 0.6455 GB, free: 9.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.5934, allocations: 12 kB / 0.6455 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006497/0.5999, allocations: 2.981 MB / 0.6484 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.6001, allocations: 171.5 kB / 0.6486 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.6004, allocations: 211 kB / 0.6488 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.6044, allocations: 2.018 MB / 0.6507 GB, free: 3.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6044, allocations: 0 / 0.6507 GB, free: 3.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6044, allocations: 0 / 0.6507 GB, free: 3.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.6045, allocations: 0 / 0.6507 GB, free: 3.691 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002123/0.6066, allocations: 0.9419 MB / 0.6517 GB, free: 2.699 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6066, allocations: 11.89 kB / 0.6517 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.924e-05/0.6067, allocations: 82.7 kB / 0.6517 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.6102, allocations: 488.1 kB / 0.6522 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.6108, allocations: 375.8 kB / 0.6526 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.611, allocations: 135.8 kB / 0.6527 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.6111, allocations: 32 kB / 0.6527 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6127, allocations: 1.105 MB / 0.6538 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6128, allocations: 7.984 kB / 0.6538 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.6129, allocations: 20 kB / 0.6538 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/0.613, allocations: 48.97 kB / 0.6539 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.6163, allocations: 2.272 MB / 0.6561 GB, free: 14.04 MB / 0.4981 GB 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.003629/0.6199, allocations: 2.472 MB / 0.6585 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.6202, allocations: 138.4 kB / 0.6586 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.6203, allocations: 64.78 kB / 0.6587 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004088/0.6244, allocations: 3.352 MB / 0.662 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.6245, allocations: 34.56 kB / 0.662 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.6245, allocations: 0 / 0.662 GB, free: 7.297 MB / 0.4981 GB 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=22): time 0.001166/0.6257, allocations: 365.3 kB / 0.6624 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.6257, allocations: 55.41 kB / 0.6624 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.6261, allocations: 348.3 kB / 0.6628 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.6261, allocations: 29.7 kB / 0.6628 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.6263, allocations: 358.9 kB / 0.6631 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.6264, allocations: 99.19 kB / 0.6632 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.6266, allocations: 158.5 kB / 0.6634 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6268, allocations: 338.8 kB / 0.6637 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.627, allocations: 125.9 kB / 0.6638 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.6275, allocations: 0.5686 MB / 0.6644 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/0.6285, allocations: 0.7535 MB / 0.6651 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.6285, allocations: 8 kB / 0.6651 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00131/0.6298, allocations: 0.7361 MB / 0.6658 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6298, allocations: 12 kB / 0.6658 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.6299, allocations: 16 kB / 0.6659 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.6299, allocations: 32 kB / 0.6659 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.6304, allocations: 179.7 kB / 0.6661 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000397/0.6308, allocations: 0.6171 MB / 0.6667 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.6312, allocations: 87.36 kB / 0.6667 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.6313, allocations: 60 kB / 0.6668 GB, free: 1.875 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0002185/0.6315, allocations: 225.2 kB / 0.667 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.6318, allocations: 91.77 kB / 0.6671 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.6323, allocations: 268.4 kB / 0.6674 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6324, allocations: 0 / 0.6674 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6324, allocations: 0 / 0.6674 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6324, allocations: 7.984 kB / 0.6674 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009543/0.6333, allocations: 0.7389 MB / 0.6681 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6334, allocations: 4 kB / 0.6681 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.6335, allocations: 43.92 kB / 0.6681 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6335, allocations: 4 kB / 0.6681 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6335, allocations: 15.86 kB / 0.6682 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003455/0.6339, allocations: 0.5863 MB / 0.6687 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.6339, allocations: 7.938 kB / 0.6687 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.6343, allocations: 308.3 kB / 0.669 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.6344, allocations: 120.8 kB / 0.6691 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.6344, allocations: 15.38 kB / 0.6692 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.6347, allocations: 8 kB / 0.6692 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.6347, allocations: 27.92 kB / 0.6692 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.6348, allocations: 15.98 kB / 0.6692 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002227/0.635, allocations: 223 kB / 0.6694 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.635, allocations: 0 / 0.6694 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001178/0.6362, allocations: 395.1 kB / 0.6698 GB, free: 14.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.002377/0.6386, allocations: 1.491 MB / 0.6713 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00065/0.6392, allocations: 354.4 kB / 0.6716 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6392, allocations: 4 kB / 0.6716 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.6394, allocations: 65.41 kB / 0.6717 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.64, allocations: 99.28 kB / 0.6718 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.6523, allocations: 8.823 MB / 0.6804 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.6528, allocations: 0.7879 MB / 0.6811 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005556/0.6534, allocations: 155.3 kB / 0.6813 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.6536, allocations: 111.4 kB / 0.6814 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of SimCode: time 3.858e-06/0.6537, allocations: 4 kB / 0.6814 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.6995, allocations: 14.85 MB / 0.6959 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.87, allocations: 7.938 kB / 0.6959 GB, free: 3.191 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches