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.0008691/0.0008692, allocations: 96.58 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008807/0.0008807, allocations: 203.3 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.7 MB / 246.8 MB, free: 9.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2005/0.2005, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 63.57 MB / 483.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.377/0.5059, allocations: 149.2 MB / 0.6175 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007269/0.5132, allocations: 6.863 MB / 0.6242 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.5135, allocations: 4 kB / 0.6242 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.5139, allocations: 75.62 kB / 0.6243 GB, free: 8.445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.5188, allocations: 2.022 MB / 0.6263 GB, free: 6.422 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.5191, allocations: 135.5 kB / 0.6264 GB, free: 6.293 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000878/0.52, allocations: 0.7518 MB / 0.6271 GB, free: 5.539 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.66e-05/0.5201, allocations: 16.3 kB / 0.6272 GB, free: 5.523 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.5206, allocations: 258.9 kB / 0.6274 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/0.5215, allocations: 0.5299 MB / 0.6279 GB, free: 4.738 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.5216, allocations: 8 kB / 0.6279 GB, free: 4.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005768/0.5273, allocations: 3.547 MB / 0.6314 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.5276, allocations: 163.5 kB / 0.6316 GB, free: 1.016 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.5278, allocations: 240.7 kB / 0.6318 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.5318, allocations: 2.175 MB / 0.6339 GB, free: 14.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5318, allocations: 0 / 0.6339 GB, free: 14.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5318, allocations: 0 / 0.6339 GB, free: 14.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.5318, allocations: 0 / 0.6339 GB, free: 14.59 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.002361/0.5342, allocations: 0.8901 MB / 0.6348 GB, free: 13.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5342, allocations: 8.875 kB / 0.6348 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.5344, allocations: 90.69 kB / 0.6349 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.5464, allocations: 1.288 MB / 0.6361 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/0.5472, allocations: 367.8 kB / 0.6365 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.5473, allocations: 131.4 kB / 0.6366 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.5476, allocations: 32 kB / 0.6366 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.5503, allocations: 1.437 MB / 0.638 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5503, allocations: 7.938 kB / 0.638 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.5505, allocations: 15.98 kB / 0.6381 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.5505, allocations: 52.97 kB / 0.6381 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005184/0.5557, allocations: 2.623 MB / 0.6407 GB, free: 7.504 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.004435/0.5602, allocations: 3.856 MB / 0.6444 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.5604, allocations: 74.58 kB / 0.6445 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.5605, allocations: 41 kB / 0.6445 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003867/0.5643, allocations: 3.242 MB / 0.6477 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.5644, allocations: 38.5 kB / 0.6478 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.5644, allocations: 0 / 0.6478 GB, free: 15.27 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.001224/0.5656, allocations: 351.5 kB / 0.6481 GB, free: 14.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.5657, allocations: 59.34 kB / 0.6481 GB, free: 14.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.5661, allocations: 385.2 kB / 0.6485 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.5661, allocations: 29.7 kB / 0.6485 GB, free: 14.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5664, allocations: 376.9 kB / 0.6489 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.5664, allocations: 47.45 kB / 0.6489 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.5665, allocations: 65.67 kB / 0.649 GB, free: 13.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5667, allocations: 342.8 kB / 0.6493 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.567, allocations: 133.8 kB / 0.6495 GB, free: 13.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.5677, allocations: 0.5625 MB / 0.65 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.5685, allocations: 0.7485 MB / 0.6507 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.5685, allocations: 8 kB / 0.6507 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001159/0.5697, allocations: 0.6914 MB / 0.6514 GB, free: 11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5697, allocations: 16.06 kB / 0.6514 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.5698, allocations: 19.98 kB / 0.6515 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.5698, allocations: 24 kB / 0.6515 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.5703, allocations: 191.6 kB / 0.6517 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/0.5707, allocations: 0.614 MB / 0.6523 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.5712, allocations: 99 kB / 0.6524 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.5713, allocations: 67.98 kB / 0.6524 GB, free: 9.957 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.0002099/0.5715, allocations: 205.4 kB / 0.6526 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.5716, allocations: 39.56 kB / 0.6527 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.5719, allocations: 171.3 kB / 0.6528 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5719, allocations: 0 / 0.6528 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.572, allocations: 0 / 0.6528 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.572, allocations: 3.984 kB / 0.6528 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.5726, allocations: 483.9 kB / 0.6533 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5726, allocations: 4 kB / 0.6533 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.5727, allocations: 30.56 kB / 0.6533 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5727, allocations: 0 / 0.6533 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5727, allocations: 7.984 kB / 0.6533 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000357/0.5731, allocations: 0.586 MB / 0.6539 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5731, allocations: 0 / 0.6539 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.5734, allocations: 216.9 kB / 0.6541 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5735, allocations: 120.7 kB / 0.6542 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.5736, allocations: 7.922 kB / 0.6542 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.5739, allocations: 8 kB / 0.6542 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.5739, allocations: 15.91 kB / 0.6542 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.5739, allocations: 8 kB / 0.6543 GB, free: 7.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.5742, allocations: 255.1 kB / 0.6545 GB, free: 7.676 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5742, allocations: 0 / 0.6545 GB, free: 7.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001249/0.5755, allocations: 351.8 kB / 0.6548 GB, free: 7.332 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.002513/0.578, allocations: 1.287 MB / 0.6561 GB, free: 6.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.5786, allocations: 331.3 kB / 0.6564 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5786, allocations: 4.375 kB / 0.6564 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.5787, allocations: 43.92 kB / 0.6565 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.5792, allocations: 41.41 kB / 0.6565 GB, free: 5.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.5936, allocations: 9.512 MB / 0.6658 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.5941, allocations: 0.7926 MB / 0.6666 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008291/0.5949, allocations: 259.2 kB / 0.6668 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5951, allocations: 119.3 kB / 0.6669 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.5952, allocations: 0 / 0.6669 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.626, allocations: 12.26 MB / 0.6789 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/0.6264, allocations: 281.3 kB / 0.6792 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.975, allocations: 0 / 0.6792 GB, free: 13.9 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