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.001781/0.001781, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002322/0.002322, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.46 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.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4052, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2082/0.6135, allocations: 153.3 MB / 0.6802 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007719/0.6213, allocations: 6.825 MB / 0.6869 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.6215, allocations: 4 kB / 0.6869 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.622, allocations: 83.48 kB / 0.687 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005571/0.6276, allocations: 2.191 MB / 0.6891 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.628, allocations: 155.1 kB / 0.6893 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.6288, allocations: 0.5177 MB / 0.6898 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.6288, allocations: 12.31 kB / 0.6898 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/0.6294, allocations: 254.9 kB / 0.69 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009422/0.6304, allocations: 482.6 kB / 0.6905 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.6305, allocations: 12 kB / 0.6905 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.6361, allocations: 2.634 MB / 0.6931 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.6364, allocations: 171.5 kB / 0.6932 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.6368, allocations: 215 kB / 0.6934 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.6407, allocations: 1.848 MB / 0.6952 GB, free: 8.453 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6407, allocations: 4 kB / 0.6953 GB, free: 8.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6407, allocations: 0 / 0.6953 GB, free: 8.449 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.6407, allocations: 0 / 0.6953 GB, free: 8.449 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.003165/0.6439, allocations: 0.9753 MB / 0.6962 GB, free: 7.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6439, allocations: 12.02 kB / 0.6962 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.6441, allocations: 82.72 kB / 0.6963 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003954/0.6481, allocations: 0.496 MB / 0.6968 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.6488, allocations: 375.3 kB / 0.6971 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6489, allocations: 135.4 kB / 0.6973 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.649, allocations: 32 kB / 0.6973 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.6507, allocations: 1.101 MB / 0.6984 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6507, allocations: 0 / 0.6984 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6508, allocations: 16 kB / 0.6984 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/0.6509, allocations: 56.89 kB / 0.6984 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.6539, allocations: 2.264 MB / 0.7007 GB, free: 2.766 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.00386/0.6578, allocations: 2.64 MB / 0.7032 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.6581, allocations: 102.6 kB / 0.7033 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.6582, allocations: 53.08 kB / 0.7034 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004636/0.6628, allocations: 3.288 MB / 0.7066 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6629, allocations: 38.56 kB / 0.7066 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.6629, allocations: 3.938 kB / 0.7066 GB, free: 11.94 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.001112/0.664, allocations: 306.8 kB / 0.7069 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.664, allocations: 51.41 kB / 0.707 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.6644, allocations: 379.9 kB / 0.7073 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.6645, allocations: 29.7 kB / 0.7074 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.6648, allocations: 365.2 kB / 0.7077 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.6648, allocations: 67.19 kB / 0.7078 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.665, allocations: 166.3 kB / 0.7079 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6652, allocations: 346.8 kB / 0.7083 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.6654, allocations: 121.9 kB / 0.7084 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.6659, allocations: 0.5647 MB / 0.7089 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.6668, allocations: 0.749 MB / 0.7097 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.6668, allocations: 4 kB / 0.7097 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001367/0.6682, allocations: 0.7391 MB / 0.7104 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6682, allocations: 12 kB / 0.7104 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.6682, allocations: 16 kB / 0.7104 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.6682, allocations: 20.78 kB / 0.7104 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.6687, allocations: 187.7 kB / 0.7106 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003497/0.6691, allocations: 0.6209 MB / 0.7112 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.6696, allocations: 91.06 kB / 0.7113 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.6696, allocations: 63.98 kB / 0.7114 GB, free: 6.551 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.000199/0.6699, allocations: 208.4 kB / 0.7116 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.6702, allocations: 95.58 kB / 0.7117 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.6706, allocations: 199.2 kB / 0.7119 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6706, allocations: 4 kB / 0.7119 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6706, allocations: 0 / 0.7119 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6706, allocations: 4 kB / 0.7119 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.6713, allocations: 0.5344 MB / 0.7124 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6713, allocations: 0 / 0.7124 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.6714, allocations: 35.92 kB / 0.7124 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.6714, allocations: 8.188 kB / 0.7124 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.6715, allocations: 4 kB / 0.7124 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002805/0.6718, allocations: 0.5821 MB / 0.713 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6718, allocations: 4.031 kB / 0.713 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.672, allocations: 256 kB / 0.7132 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.6722, allocations: 116.7 kB / 0.7134 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.6722, allocations: 11.92 kB / 0.7134 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.6725, allocations: 11.94 kB / 0.7134 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.6725, allocations: 19.92 kB / 0.7134 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.6726, allocations: 16 kB / 0.7134 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002263/0.6728, allocations: 239.2 kB / 0.7136 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6728, allocations: 0 / 0.7136 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0012/0.674, allocations: 351.7 kB / 0.714 GB, free: 3.715 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.002324/0.6763, allocations: 1.326 MB / 0.7153 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006277/0.677, allocations: 343.4 kB / 0.7156 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.677, allocations: 8.062 kB / 0.7156 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.6771, allocations: 59.89 kB / 0.7157 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.6776, allocations: 61.33 kB / 0.7157 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2685/0.9461, allocations: 10.18 MB / 0.7257 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.9464, allocations: 0.7872 MB / 0.7264 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005292/0.9469, allocations: 236.1 kB / 0.7267 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.9471, allocations: 115.7 kB / 0.7268 GB, free: 177 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.9471, allocations: 0 / 0.7268 GB, free: 177 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.9786, allocations: 13.08 MB / 0.7395 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.51, allocations: 9.438 kB / 0.7395 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