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.001746/0.001745, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 75.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3452, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1939/0.5392, allocations: 153.3 MB / 0.6803 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008572/0.5478, allocations: 6.833 MB / 0.687 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.548, allocations: 4 kB / 0.687 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.5485, allocations: 79.5 kB / 0.6871 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/0.5548, allocations: 2.204 MB / 0.6892 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.5552, allocations: 144.9 kB / 0.6894 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.556, allocations: 0.5138 MB / 0.6899 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.5561, allocations: 16.3 kB / 0.6899 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.5566, allocations: 259.9 kB / 0.6901 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000826/0.5574, allocations: 482.6 kB / 0.6906 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.5575, allocations: 12 kB / 0.6906 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006045/0.5635, allocations: 2.645 MB / 0.6932 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.5638, allocations: 159.6 kB / 0.6933 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.5641, allocations: 207 kB / 0.6935 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.5683, allocations: 1.862 MB / 0.6954 GB, free: 8.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5683, allocations: 0 / 0.6954 GB, free: 8.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5683, allocations: 0 / 0.6954 GB, free: 8.406 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.5683, allocations: 0 / 0.6954 GB, free: 8.406 MB / 0.545 GB 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.002698/0.571, allocations: 0.9928 MB / 0.6963 GB, free: 7.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5711, allocations: 8.031 kB / 0.6963 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.5712, allocations: 82.7 kB / 0.6964 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/0.5748, allocations: 0.504 MB / 0.6969 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.5755, allocations: 379.3 kB / 0.6973 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.5757, allocations: 127.5 kB / 0.6974 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.5758, allocations: 28 kB / 0.6974 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.5774, allocations: 1.109 MB / 0.6985 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5775, allocations: 3.938 kB / 0.6985 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5776, allocations: 23.98 kB / 0.6985 GB, free: 5.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/0.5777, allocations: 48.97 kB / 0.6986 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.581, allocations: 2.268 MB / 0.7008 GB, free: 2.691 MB / 0.545 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.00383/0.5849, allocations: 2.641 MB / 0.7034 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.5851, allocations: 110.5 kB / 0.7035 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.5852, allocations: 49.03 kB / 0.7035 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00431/0.5896, allocations: 3.277 MB / 0.7067 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5896, allocations: 38.5 kB / 0.7068 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.063e-06/0.5896, allocations: 4 kB / 0.7068 GB, free: 11.87 MB / 0.5606 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=16): time 0.001052/0.5907, allocations: 304.2 kB / 0.7071 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5907, allocations: 51.41 kB / 0.7071 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.5911, allocations: 380.1 kB / 0.7075 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.5912, allocations: 33.7 kB / 0.7075 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.5914, allocations: 378.7 kB / 0.7079 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.5915, allocations: 71.47 kB / 0.7079 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.5917, allocations: 166.5 kB / 0.7081 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5919, allocations: 338.8 kB / 0.7084 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.5921, allocations: 121.9 kB / 0.7085 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.5927, allocations: 0.5647 MB / 0.7091 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000852/0.5935, allocations: 0.7571 MB / 0.7098 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5936, allocations: 4 kB / 0.7098 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001335/0.5949, allocations: 0.7431 MB / 0.7105 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.5949, allocations: 12.94 kB / 0.7106 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.595, allocations: 16 kB / 0.7106 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/0.595, allocations: 20 kB / 0.7106 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.5955, allocations: 191.7 kB / 0.7108 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/0.5959, allocations: 0.6132 MB / 0.7114 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.5964, allocations: 99.25 kB / 0.7115 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.5965, allocations: 59.98 kB / 0.7115 GB, free: 6.461 MB / 0.5606 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.0002501/0.5967, allocations: 209.4 kB / 0.7117 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.5971, allocations: 95.67 kB / 0.7118 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.5975, allocations: 187.4 kB / 0.712 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5975, allocations: 4 kB / 0.712 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5975, allocations: 7.938 kB / 0.712 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5975, allocations: 3.984 kB / 0.712 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.5982, allocations: 0.5423 MB / 0.7125 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5983, allocations: 192 / 0.7125 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5984, allocations: 35.92 kB / 0.7126 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.5984, allocations: 4 kB / 0.7126 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.5984, allocations: 4 kB / 0.7126 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003504/0.5988, allocations: 0.5899 MB / 0.7132 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5988, allocations: 4.031 kB / 0.7132 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.5991, allocations: 256.5 kB / 0.7134 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.5992, allocations: 116.8 kB / 0.7135 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.5993, allocations: 11.94 kB / 0.7135 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.5995, allocations: 15.98 kB / 0.7135 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.5995, allocations: 15.92 kB / 0.7136 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5996, allocations: 11.94 kB / 0.7136 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000254/0.5998, allocations: 243.2 kB / 0.7138 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5998, allocations: 0 / 0.7138 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001185/0.601, allocations: 351.2 kB / 0.7141 GB, free: 3.609 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.002124/0.6032, allocations: 1.335 MB / 0.7154 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006829/0.6038, allocations: 347 kB / 0.7158 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6039, allocations: 0 / 0.7158 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.604, allocations: 51.86 kB / 0.7158 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.6045, allocations: 66.53 kB / 0.7159 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2843/0.8888, allocations: 10.21 MB / 0.7259 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.8891, allocations: 0.7838 MB / 0.7266 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005661/0.8897, allocations: 242.8 kB / 0.7268 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.8899, allocations: 118.3 kB / 0.727 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.8899, allocations: 0 / 0.727 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.9307, allocations: 13.01 MB / 0.7397 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.45, allocations: 1.438 kB / 0.7397 GB, free: 168.5 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/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