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.001464/0.001464, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 72.91 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1151, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3967/0.5118, allocations: 153.3 MB / 0.6186 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006984/0.5188, allocations: 6.819 MB / 0.6252 GB, free: 3.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.519, allocations: 0 / 0.6252 GB, free: 3.195 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.5195, allocations: 75.5 kB / 0.6253 GB, free: 3.121 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004713/0.5242, allocations: 2.213 MB / 0.6275 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.5245, allocations: 139.6 kB / 0.6276 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006353/0.5252, allocations: 0.5178 MB / 0.6281 GB, free: 264 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.5252, allocations: 20.28 kB / 0.6281 GB, free: 244 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.5257, allocations: 255 kB / 0.6284 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000774/0.5265, allocations: 474.6 kB / 0.6288 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.5266, allocations: 12 kB / 0.6288 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004841/0.5314, allocations: 2.775 MB / 0.6315 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.5316, allocations: 175.5 kB / 0.6317 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.5319, allocations: 203.1 kB / 0.6319 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.5352, allocations: 1.926 MB / 0.6338 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5352, allocations: 0 / 0.6338 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5352, allocations: 0 / 0.6338 GB, free: 10.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.5352, allocations: 0 / 0.6338 GB, free: 10.43 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.002501/0.5377, allocations: 0.9759 MB / 0.6347 GB, free: 9.406 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5378, allocations: 12.02 kB / 0.6348 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.553e-05/0.5379, allocations: 78.72 kB / 0.6348 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.5501, allocations: 1.28 MB / 0.6361 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.5508, allocations: 371.6 kB / 0.6364 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.551, allocations: 139.3 kB / 0.6366 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.5512, allocations: 39.98 kB / 0.6366 GB, free: 7.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.5538, allocations: 1.425 MB / 0.638 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5539, allocations: 0 / 0.638 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.554, allocations: 15.98 kB / 0.638 GB, free: 5.949 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.5541, allocations: 60.95 kB / 0.6381 GB, free: 5.891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/0.5592, allocations: 2.623 MB / 0.6406 GB, free: 3.266 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.004457/0.5637, allocations: 3.844 MB / 0.6444 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.5639, allocations: 90.56 kB / 0.6445 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.564, allocations: 36.95 kB / 0.6445 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004227/0.5682, allocations: 3.265 MB / 0.6477 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5683, allocations: 34.56 kB / 0.6477 GB, free: 11.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.024e-06/0.5683, allocations: 0 / 0.6477 GB, free: 11.01 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.001262/0.5695, allocations: 343.9 kB / 0.6481 GB, free: 10.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.5696, allocations: 59.34 kB / 0.6481 GB, free: 10.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.57, allocations: 393.1 kB / 0.6485 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.57, allocations: 29.7 kB / 0.6485 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.5703, allocations: 380.9 kB / 0.6489 GB, free: 9.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.5703, allocations: 51.44 kB / 0.6489 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.5705, allocations: 162.4 kB / 0.6491 GB, free: 9.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5706, allocations: 350.7 kB / 0.6494 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.5708, allocations: 117.9 kB / 0.6495 GB, free: 9.113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.5713, allocations: 0.5781 MB / 0.6501 GB, free: 8.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.5721, allocations: 0.7493 MB / 0.6508 GB, free: 7.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.5721, allocations: 4 kB / 0.6508 GB, free: 7.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001165/0.5733, allocations: 0.687 MB / 0.6515 GB, free: 6.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5733, allocations: 12 kB / 0.6515 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.5733, allocations: 16 kB / 0.6515 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.5734, allocations: 24 kB / 0.6516 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.5738, allocations: 195.6 kB / 0.6517 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/0.5742, allocations: 0.6177 MB / 0.6523 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.5746, allocations: 96.28 kB / 0.6524 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.5747, allocations: 65.17 kB / 0.6525 GB, free: 5.602 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.0002089/0.5749, allocations: 209.4 kB / 0.6527 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.575, allocations: 39.56 kB / 0.6527 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.5754, allocations: 179.4 kB / 0.6529 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5754, allocations: 0 / 0.6529 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5754, allocations: 0 / 0.6529 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5754, allocations: 0 / 0.6529 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.576, allocations: 483.9 kB / 0.6534 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.576, allocations: 4 kB / 0.6534 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.5761, allocations: 19.98 kB / 0.6534 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5761, allocations: 4 kB / 0.6534 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5761, allocations: 3.875 kB / 0.6534 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002807/0.5764, allocations: 0.5899 MB / 0.654 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5764, allocations: 8.094 kB / 0.654 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.5767, allocations: 214.5 kB / 0.6542 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.5768, allocations: 120.6 kB / 0.6543 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.5769, allocations: 3.938 kB / 0.6543 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.5771, allocations: 8 kB / 0.6543 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.5771, allocations: 11.98 kB / 0.6543 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.5772, allocations: 8 kB / 0.6543 GB, free: 3.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.5774, allocations: 251.1 kB / 0.6546 GB, free: 3.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5774, allocations: 0 / 0.6546 GB, free: 3.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001171/0.5786, allocations: 343.8 kB / 0.6549 GB, free: 2.988 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.00225/0.5809, allocations: 1.288 MB / 0.6562 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.5815, allocations: 347.1 kB / 0.6565 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5815, allocations: 0 / 0.6565 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.5816, allocations: 35.92 kB / 0.6565 GB, free: 1.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.5821, allocations: 55.91 kB / 0.6566 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.5959, allocations: 9.337 MB / 0.6657 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.5963, allocations: 0.7929 MB / 0.6665 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007745/0.5971, allocations: 259.9 kB / 0.6667 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.5973, allocations: 115.4 kB / 0.6668 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.936e-06/0.5973, allocations: 4 kB / 0.6668 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.6352, allocations: 12.59 MB / 0.6791 GB, free: 9.699 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.63, allocations: 3.859 kB / 0.6791 GB, free: 9.695 MB / 0.5138 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