Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007293/0.0007293, allocations: 96.72 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3108/0.3108, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8 kB / 432.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3374/0.4588, allocations: 137.6 MB / 0.6138 GB, free: 13.18 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.4658, allocations: 5.777 MB / 0.6195 GB, free: 7.418 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.4661, allocations: 0 / 0.6195 GB, free: 7.418 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.4665, allocations: 59.69 kB / 0.6195 GB, free: 7.359 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.4729, allocations: 2.185 MB / 0.6217 GB, free: 5.176 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.4733, allocations: 134.2 kB / 0.6218 GB, free: 5.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009291/0.4742, allocations: 0.6231 MB / 0.6224 GB, free: 4.426 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.4743, allocations: 19.23 kB / 0.6224 GB, free: 4.414 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.4749, allocations: 223.2 kB / 0.6226 GB, free: 4.195 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.476, allocations: 0.5416 MB / 0.6231 GB, free: 3.652 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/0.4761, allocations: 8 kB / 0.6232 GB, free: 3.645 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00751/0.4836, allocations: 4.027 MB / 0.6271 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.4839, allocations: 183.5 kB / 0.6273 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.4842, allocations: 216.9 kB / 0.6275 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.487, allocations: 1.538 MB / 0.629 GB, free: 13.67 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4871, allocations: 3.938 kB / 0.629 GB, free: 13.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4871, allocations: 0 / 0.629 GB, free: 13.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4871, allocations: 0 / 0.629 GB, free: 13.67 MB / 458.7 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.002305/0.4894, allocations: 0.8386 MB / 0.6298 GB, free: 12.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4895, allocations: 8.031 kB / 0.6298 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.4896, allocations: 90.69 kB / 0.6299 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.5007, allocations: 1.262 MB / 0.6311 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5018, allocations: 376.8 kB / 0.6315 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.502, allocations: 127.8 kB / 0.6316 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.5023, allocations: 32 kB / 0.6316 GB, free: 10.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.5052, allocations: 1.437 MB / 0.633 GB, free: 9.367 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.5053, allocations: 0 / 0.633 GB, free: 9.367 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.5054, allocations: 19.98 kB / 0.6331 GB, free: 9.348 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.5055, allocations: 52.97 kB / 0.6331 GB, free: 9.297 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/0.5108, allocations: 2.63 MB / 0.6357 GB, free: 6.664 MB / 458.7 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.004684/0.5155, allocations: 3.673 MB / 0.6393 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.5157, allocations: 110.6 kB / 0.6394 GB, free: 2.441 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.202e-05/0.5158, allocations: 45.81 kB / 0.6394 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003822/0.5197, allocations: 3.33 MB / 0.6427 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5197, allocations: 34.56 kB / 0.6427 GB, free: 14.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 2.815e-06/0.5197, allocations: 0 / 0.6427 GB, free: 14.52 MB / 474.7 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=18): time 0.001276/0.521, allocations: 405.6 kB / 0.6431 GB, free: 14.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.5211, allocations: 51.41 kB / 0.6431 GB, free: 14.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.5215, allocations: 360.1 kB / 0.6435 GB, free: 13.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5215, allocations: 25.7 kB / 0.6435 GB, free: 13.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.5217, allocations: 361.3 kB / 0.6438 GB, free: 13.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.5218, allocations: 71.09 kB / 0.6439 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.5218, allocations: 16 kB / 0.6439 GB, free: 13.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.522, allocations: 338.8 kB / 0.6443 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.5222, allocations: 121.9 kB / 0.6444 GB, free: 12.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.5227, allocations: 0.5664 MB / 0.6449 GB, free: 11.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.5234, allocations: 0.7539 MB / 0.6457 GB, free: 10.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5234, allocations: 4 kB / 0.6457 GB, free: 10.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009714/0.5244, allocations: 0.6869 MB / 0.6463 GB, free: 10.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5245, allocations: 16.03 kB / 0.6463 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5245, allocations: 16 kB / 0.6464 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.5245, allocations: 20 kB / 0.6464 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.525, allocations: 187.7 kB / 0.6466 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000404/0.5254, allocations: 0.6171 MB / 0.6472 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.5258, allocations: 93.06 kB / 0.6473 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/0.5259, allocations: 72.02 kB / 0.6473 GB, free: 9.254 MB / 474.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.5261, allocations: 209.3 kB / 0.6475 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.5262, allocations: 35.62 kB / 0.6476 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.5267, allocations: 248.9 kB / 0.6478 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5267, allocations: 4 kB / 0.6478 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5267, allocations: 0 / 0.6478 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5267, allocations: 3.984 kB / 0.6478 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007977/0.5275, allocations: 0.6654 MB / 0.6484 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5276, allocations: 0 / 0.6484 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.5277, allocations: 35.92 kB / 0.6485 GB, free: 7.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5277, allocations: 7.938 kB / 0.6485 GB, free: 7.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5277, allocations: 11.98 kB / 0.6485 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000298/0.528, allocations: 0.5823 MB / 0.6491 GB, free: 7.324 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.528, allocations: 4.031 kB / 0.6491 GB, free: 7.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.5283, allocations: 261.5 kB / 0.6493 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.5284, allocations: 132.7 kB / 0.6495 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.5285, allocations: 11.12 kB / 0.6495 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.5287, allocations: 4 kB / 0.6495 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.5288, allocations: 19.92 kB / 0.6495 GB, free: 6.855 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.5288, allocations: 15.98 kB / 0.6495 GB, free: 6.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.529, allocations: 231 kB / 0.6497 GB, free: 6.613 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.529, allocations: 0 / 0.6497 GB, free: 6.613 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001318/0.5304, allocations: 395.7 kB / 0.6501 GB, free: 6.227 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002423/0.5328, allocations: 1.456 MB / 0.6515 GB, free: 4.738 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005922/0.5334, allocations: 339.5 kB / 0.6518 GB, free: 4.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5334, allocations: 4.188 kB / 0.6518 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.5335, allocations: 47.92 kB / 0.6519 GB, free: 4.359 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.5341, allocations: 69.25 kB / 0.652 GB, free: 4.289 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/0.5433, allocations: 6.31 MB / 0.6581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.5438, allocations: 0.7921 MB / 0.6589 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.5441, allocations: 135.4 kB / 0.659 GB, free: 12.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5441, allocations: 4 kB / 0.659 GB, free: 12.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.939/5.483, allocations: 11.21 MB / 0.67 GB, free: 1.52 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches