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.001528/0.001528, allocations: 113.9 kB / 17.33 MB, free: 6.012 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.001772/0.001772, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.377/1.377, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2329/0.2329, allocations: 44.17 MB / 336.2 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 64.62 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1211, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3965/0.5176, allocations: 148.3 MB / 0.6027 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006604/0.5243, allocations: 6.796 MB / 0.6093 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.5245, allocations: 4 kB / 0.6093 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.525, allocations: 71.61 kB / 0.6094 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005864/0.531, allocations: 2.061 MB / 0.6114 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.5314, allocations: 144 kB / 0.6115 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008102/0.5322, allocations: 0.5178 MB / 0.612 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.5323, allocations: 12.31 kB / 0.6121 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.5329, allocations: 251.1 kB / 0.6123 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009788/0.5338, allocations: 0.5025 MB / 0.6128 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.5339, allocations: 12 kB / 0.6128 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005225/0.5392, allocations: 3.251 MB / 0.616 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.5393, allocations: 175.5 kB / 0.6161 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.5396, allocations: 211.1 kB / 0.6163 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.5433, allocations: 2.144 MB / 0.6184 GB, free: 12.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5433, allocations: 0 / 0.6184 GB, free: 12.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5433, allocations: 0 / 0.6184 GB, free: 12.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.5433, allocations: 0 / 0.6184 GB, free: 12.69 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.002398/0.5457, allocations: 0.9644 MB / 0.6194 GB, free: 11.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5458, allocations: 8.031 kB / 0.6194 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.745e-05/0.5459, allocations: 86.7 kB / 0.6195 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.5571, allocations: 1.276 MB / 0.6207 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.5578, allocations: 383.5 kB / 0.6211 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.558, allocations: 131.4 kB / 0.6212 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.5582, allocations: 32 kB / 0.6212 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.5609, allocations: 1.429 MB / 0.6226 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5609, allocations: 0 / 0.6226 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.5611, allocations: 20 kB / 0.6227 GB, free: 8.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.5611, allocations: 56.89 kB / 0.6227 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005429/0.5666, allocations: 2.623 MB / 0.6253 GB, free: 5.535 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.005114/0.5717, allocations: 3.856 MB / 0.629 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.5719, allocations: 82.62 kB / 0.6291 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.572, allocations: 36.95 kB / 0.6291 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003844/0.5759, allocations: 3.234 MB / 0.6323 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.5759, allocations: 34.56 kB / 0.6323 GB, free: 13.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 3.306e-06/0.5759, allocations: 3.938 kB / 0.6323 GB, free: 13.3 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.001297/0.5772, allocations: 353.2 kB / 0.6327 GB, free: 12.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.5773, allocations: 59.34 kB / 0.6327 GB, free: 12.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.5777, allocations: 393.2 kB / 0.6331 GB, free: 12.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.5777, allocations: 25.7 kB / 0.6331 GB, free: 12.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.578, allocations: 369 kB / 0.6335 GB, free: 12.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.5781, allocations: 63.36 kB / 0.6335 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.5783, allocations: 166.4 kB / 0.6337 GB, free: 11.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5784, allocations: 342.8 kB / 0.634 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.5786, allocations: 113.9 kB / 0.6341 GB, free: 11.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.5792, allocations: 0.582 MB / 0.6347 GB, free: 10.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.5801, allocations: 0.747 MB / 0.6354 GB, free: 9.629 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.5801, allocations: 8 kB / 0.6354 GB, free: 9.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001146/0.5813, allocations: 0.6891 MB / 0.6361 GB, free: 8.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5813, allocations: 12 kB / 0.6361 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/0.5814, allocations: 24.14 kB / 0.6362 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.5814, allocations: 24 kB / 0.6362 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.5819, allocations: 187.6 kB / 0.6364 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004335/0.5824, allocations: 0.6172 MB / 0.637 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.5829, allocations: 90.97 kB / 0.637 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.583, allocations: 67.98 kB / 0.6371 GB, free: 7.887 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.0002425/0.5833, allocations: 209.5 kB / 0.6373 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.5834, allocations: 39.56 kB / 0.6373 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.5837, allocations: 175 kB / 0.6375 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5837, allocations: 0 / 0.6375 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5838, allocations: 0.875 kB / 0.6375 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5838, allocations: 3.984 kB / 0.6375 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.5844, allocations: 472 kB / 0.638 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5844, allocations: 3.984 kB / 0.638 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5845, allocations: 23.94 kB / 0.638 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5846, allocations: 0 / 0.638 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.5846, allocations: 14.67 kB / 0.638 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003207/0.5849, allocations: 0.586 MB / 0.6386 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5849, allocations: 0 / 0.6386 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.5852, allocations: 220.9 kB / 0.6388 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.5853, allocations: 116.6 kB / 0.6389 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.5854, allocations: 7.938 kB / 0.6389 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.5857, allocations: 11.98 kB / 0.6389 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.5857, allocations: 4 kB / 0.6389 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.5857, allocations: 7.984 kB / 0.6389 GB, free: 5.867 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.586, allocations: 251.1 kB / 0.6392 GB, free: 5.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.586, allocations: 0 / 0.6392 GB, free: 5.625 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001285/0.5873, allocations: 355.8 kB / 0.6395 GB, free: 5.277 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.002579/0.5899, allocations: 1.289 MB / 0.6408 GB, free: 3.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.5905, allocations: 339 kB / 0.6411 GB, free: 3.633 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5905, allocations: 0 / 0.6411 GB, free: 3.633 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.5906, allocations: 36.61 kB / 0.6411 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.5911, allocations: 54.75 kB / 0.6412 GB, free: 3.551 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.6024, allocations: 8.084 MB / 0.6491 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.6029, allocations: 0.7879 MB / 0.6498 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007875/0.6037, allocations: 247.2 kB / 0.6501 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.6039, allocations: 123.4 kB / 0.6502 GB, free: 9.742 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6039, allocations: 0 / 0.6502 GB, free: 9.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.6353, allocations: 12.47 MB / 0.6624 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.6355, allocations: 286.9 kB / 0.6626 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.845, allocations: 3.938 kB / 0.6627 GB, free: 13.09 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