Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 241.8 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2203/0.2203, allocations: 44.18 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.36 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4815/0.6201, allocations: 148.2 MB / 0.6024 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006969/0.6272, allocations: 6.955 MB / 0.6092 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.6273, allocations: 4 kB / 0.6092 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.6277, allocations: 75.67 kB / 0.6092 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004598/0.6323, allocations: 2.018 MB / 0.6112 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.6326, allocations: 140.9 kB / 0.6113 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007612/0.6334, allocations: 0.748 MB / 0.6121 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.6335, allocations: 16.31 kB / 0.6121 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.6338, allocations: 235 kB / 0.6123 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008202/0.6347, allocations: 0.5064 MB / 0.6128 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.6347, allocations: 8 kB / 0.6128 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/0.6402, allocations: 3.547 MB / 0.6163 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.6404, allocations: 171.4 kB / 0.6164 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.6406, allocations: 203 kB / 0.6166 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.644, allocations: 2.179 MB / 0.6188 GB, free: 12.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6441, allocations: 7.938 kB / 0.6188 GB, free: 12.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.6441, allocations: 0 / 0.6188 GB, free: 12.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.6441, allocations: 0 / 0.6188 GB, free: 12.21 MB / 462.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.002304/0.6464, allocations: 0.9722 MB / 0.6197 GB, free: 11.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6464, allocations: 8.031 kB / 0.6197 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.347e-05/0.6465, allocations: 82.72 kB / 0.6198 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.6579, allocations: 1.277 MB / 0.6211 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.6586, allocations: 376.2 kB / 0.6214 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.6588, allocations: 135.4 kB / 0.6215 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.6589, allocations: 28 kB / 0.6216 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.6615, allocations: 1.429 MB / 0.623 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6615, allocations: 3.984 kB / 0.623 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.6617, allocations: 23.92 kB / 0.623 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/0.6617, allocations: 56.95 kB / 0.623 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005212/0.6669, allocations: 2.625 MB / 0.6256 GB, free: 5.055 MB / 462.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.004579/0.6715, allocations: 3.849 MB / 0.6294 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.6718, allocations: 86.64 kB / 0.6295 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.066e-05/0.6718, allocations: 36.88 kB / 0.6295 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003465/0.6753, allocations: 3.242 MB / 0.6327 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.6754, allocations: 34.56 kB / 0.6327 GB, free: 12.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.6754, allocations: 0 / 0.6327 GB, free: 12.82 MB / 478.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.001225/0.6766, allocations: 341 kB / 0.633 GB, free: 12.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.6767, allocations: 67.27 kB / 0.6331 GB, free: 12.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.677, allocations: 381.3 kB / 0.6334 GB, free: 12.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.6771, allocations: 29.7 kB / 0.6335 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.6773, allocations: 376.9 kB / 0.6338 GB, free: 11.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.6773, allocations: 55.44 kB / 0.6339 GB, free: 11.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.6775, allocations: 162.4 kB / 0.634 GB, free: 11.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6776, allocations: 342.8 kB / 0.6344 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.6778, allocations: 121.9 kB / 0.6345 GB, free: 10.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.6783, allocations: 0.5781 MB / 0.635 GB, free: 10.13 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.6789, allocations: 0.7484 MB / 0.6358 GB, free: 9.156 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.679, allocations: 8 kB / 0.6358 GB, free: 9.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001004/0.68, allocations: 0.683 MB / 0.6364 GB, free: 8.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.68, allocations: 12 kB / 0.6365 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.68, allocations: 16 kB / 0.6365 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.6801, allocations: 24 kB / 0.6365 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.6805, allocations: 195.6 kB / 0.6367 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003328/0.6809, allocations: 0.6225 MB / 0.6373 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.6813, allocations: 98.91 kB / 0.6374 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.6814, allocations: 67.94 kB / 0.6375 GB, free: 7.414 MB / 478.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.000185/0.6816, allocations: 201.4 kB / 0.6376 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6817, allocations: 43.56 kB / 0.6377 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.682, allocations: 171.4 kB / 0.6378 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.682, allocations: 0 / 0.6378 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.682, allocations: 0 / 0.6378 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.682, allocations: 3.938 kB / 0.6379 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.6826, allocations: 490.2 kB / 0.6383 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6826, allocations: 0 / 0.6383 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.6827, allocations: 19.98 kB / 0.6383 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.6827, allocations: 4 kB / 0.6383 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.6827, allocations: 0 / 0.6383 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002648/0.683, allocations: 0.5937 MB / 0.6389 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.683, allocations: 4.156 kB / 0.6389 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.6832, allocations: 212.9 kB / 0.6391 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6833, allocations: 120.7 kB / 0.6392 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.6834, allocations: 11.88 kB / 0.6393 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.6836, allocations: 4 kB / 0.6393 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.6837, allocations: 15.98 kB / 0.6393 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.6837, allocations: 4 kB / 0.6393 GB, free: 5.391 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.6839, allocations: 251.1 kB / 0.6395 GB, free: 5.148 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6839, allocations: 0 / 0.6395 GB, free: 5.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001134/0.6851, allocations: 351.8 kB / 0.6399 GB, free: 4.805 MB / 478.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.002028/0.6871, allocations: 1.29 MB / 0.6411 GB, free: 3.488 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.6877, allocations: 341 kB / 0.6414 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6877, allocations: 0 / 0.6414 GB, free: 3.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.6878, allocations: 39.91 kB / 0.6415 GB, free: 3.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.6883, allocations: 48.75 kB / 0.6415 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6985, allocations: 8.091 MB / 0.6494 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.6989, allocations: 0.7918 MB / 0.6502 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007524/0.6996, allocations: 251.2 kB / 0.6504 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.6999, allocations: 123.4 kB / 0.6506 GB, free: 9.258 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6999, allocations: 4 kB / 0.6506 GB, free: 9.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.7263, allocations: 12.32 MB / 0.6626 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.7266, allocations: 287.2 kB / 0.6629 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.901, allocations: 0 / 0.6629 GB, free: 12.72 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches