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.00143/0.00143, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.3 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.11 MB / 343.6 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 75.11 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1178, allocations: 62.45 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.404/0.5218, allocations: 151.1 MB / 0.6157 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008737/0.5306, allocations: 6.949 MB / 0.6225 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.5309, allocations: 4 kB / 0.6225 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.5315, allocations: 87.55 kB / 0.6226 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00616/0.5377, allocations: 2.025 MB / 0.6245 GB, free: 3.621 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.5381, allocations: 135 kB / 0.6247 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.5392, allocations: 0.7479 MB / 0.6254 GB, free: 2.742 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.5393, allocations: 24.28 kB / 0.6254 GB, free: 2.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000736/0.54, allocations: 251 kB / 0.6257 GB, free: 2.473 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.5412, allocations: 0.5299 MB / 0.6262 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.152e-05/0.5413, allocations: 8 kB / 0.6262 GB, free: 1.934 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007039/0.5483, allocations: 3.554 MB / 0.6297 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.5486, allocations: 163.5 kB / 0.6298 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.549, allocations: 203.1 kB / 0.63 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005439/0.5544, allocations: 2.19 MB / 0.6321 GB, free: 11.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5544, allocations: 0 / 0.6321 GB, free: 11.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.5545, allocations: 4 kB / 0.6321 GB, free: 11.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.5545, allocations: 0 / 0.6321 GB, free: 11.82 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.003114/0.5576, allocations: 0.9681 MB / 0.6331 GB, free: 10.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/0.5577, allocations: 12.88 kB / 0.6331 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.5579, allocations: 90.66 kB / 0.6332 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.5699, allocations: 1.269 MB / 0.6344 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.571, allocations: 383.6 kB / 0.6348 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.5712, allocations: 131.4 kB / 0.6349 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.5715, allocations: 31.94 kB / 0.635 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.5749, allocations: 1.425 MB / 0.6363 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5749, allocations: 3.938 kB / 0.6363 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.5751, allocations: 19.98 kB / 0.6364 GB, free: 7.344 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.808e-05/0.5752, allocations: 56.95 kB / 0.6364 GB, free: 7.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005767/0.581, allocations: 2.627 MB / 0.639 GB, free: 4.656 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.005785/0.5868, allocations: 3.844 MB / 0.6427 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.587, allocations: 86.61 kB / 0.6428 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.5871, allocations: 36.95 kB / 0.6429 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00466/0.5918, allocations: 3.269 MB / 0.6461 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.5918, allocations: 34.56 kB / 0.6461 GB, free: 12.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/0.5919, allocations: 0 / 0.6461 GB, free: 12.4 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.001359/0.5932, allocations: 340.9 kB / 0.6464 GB, free: 12.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5933, allocations: 55.34 kB / 0.6465 GB, free: 11.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.5937, allocations: 389.2 kB / 0.6468 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.5938, allocations: 29.7 kB / 0.6469 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.594, allocations: 380.9 kB / 0.6472 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.594, allocations: 51.44 kB / 0.6473 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.5943, allocations: 170.3 kB / 0.6474 GB, free: 10.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5944, allocations: 342.8 kB / 0.6478 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.5946, allocations: 125.9 kB / 0.6479 GB, free: 10.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.5951, allocations: 0.5703 MB / 0.6484 GB, free: 9.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.5959, allocations: 0.7546 MB / 0.6492 GB, free: 8.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.596, allocations: 4 kB / 0.6492 GB, free: 8.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001243/0.5972, allocations: 0.6884 MB / 0.6499 GB, free: 8.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5973, allocations: 12 kB / 0.6499 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.5973, allocations: 16 kB / 0.6499 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.5973, allocations: 20.81 kB / 0.6499 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.5978, allocations: 195.6 kB / 0.6501 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.5983, allocations: 0.6172 MB / 0.6507 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.5988, allocations: 98.91 kB / 0.6508 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.5989, allocations: 64 kB / 0.6508 GB, free: 6.992 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.0002624/0.5992, allocations: 205.5 kB / 0.651 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5993, allocations: 39.56 kB / 0.6511 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.5997, allocations: 167.3 kB / 0.6512 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5997, allocations: 0 / 0.6512 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5997, allocations: 8 kB / 0.6512 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5997, allocations: 0 / 0.6512 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006798/0.6004, allocations: 483.8 kB / 0.6517 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6004, allocations: 0 / 0.6517 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.6005, allocations: 27.98 kB / 0.6517 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6006, allocations: 0 / 0.6517 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6006, allocations: 5.625 kB / 0.6517 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003331/0.6009, allocations: 0.59 MB / 0.6523 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6009, allocations: 3.938 kB / 0.6523 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.6012, allocations: 213.5 kB / 0.6525 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.6014, allocations: 112.7 kB / 0.6526 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.6015, allocations: 19.97 kB / 0.6526 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.6017, allocations: 4 kB / 0.6527 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.6018, allocations: 7.984 kB / 0.6527 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.6018, allocations: 8 kB / 0.6527 GB, free: 4.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.6021, allocations: 247.1 kB / 0.6529 GB, free: 4.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6021, allocations: 4 kB / 0.6529 GB, free: 4.727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001376/0.6034, allocations: 351.8 kB / 0.6532 GB, free: 4.383 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.002694/0.6061, allocations: 1.299 MB / 0.6545 GB, free: 3.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006899/0.6068, allocations: 332.3 kB / 0.6548 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6069, allocations: 7.875 kB / 0.6548 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.607, allocations: 33.73 kB / 0.6549 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.6075, allocations: 53.53 kB / 0.6549 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.6224, allocations: 9.469 MB / 0.6642 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.6228, allocations: 0.7887 MB / 0.6649 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008506/0.6237, allocations: 256.9 kB / 0.6652 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.624, allocations: 123.4 kB / 0.6653 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.624, allocations: 0 / 0.6653 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.6553, allocations: 12.37 MB / 0.6774 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.6555, allocations: 280.4 kB / 0.6776 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.052, allocations: 0 / 0.6776 GB, free: 10.85 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 & /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