Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_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.001303/0.001303, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001179/0.001179, allocations: 196.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3901/0.3901, allocations: 43.49 MB / 313.6 MB, free: 8.555 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 382.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1494, allocations: 57.78 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4737/0.6231, allocations: 149.6 MB / 0.5759 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008083/0.6313, allocations: 6.234 MB / 0.582 GB, free: 232 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.6317, allocations: 0 / 0.582 GB, free: 232 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.6321, allocations: 71.67 kB / 0.582 GB, free: 160 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007068/0.6393, allocations: 2.286 MB / 0.5843 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.6397, allocations: 138.8 kB / 0.5844 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008098/0.6405, allocations: 0.5177 MB / 0.5849 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.6406, allocations: 16.31 kB / 0.5849 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.6412, allocations: 255 kB / 0.5852 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009441/0.6421, allocations: 0.4948 MB / 0.5856 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.6422, allocations: 12 kB / 0.5857 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006308/0.6485, allocations: 3.572 MB / 0.5891 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.6487, allocations: 171.4 kB / 0.5893 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.649, allocations: 211.1 kB / 0.5895 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005094/0.6541, allocations: 2.315 MB / 0.5918 GB, free: 6.184 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6542, allocations: 0 / 0.5918 GB, free: 6.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6542, allocations: 0 / 0.5918 GB, free: 6.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.6542, allocations: 0 / 0.5918 GB, free: 6.184 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.002717/0.6569, allocations: 0.9244 MB / 0.5927 GB, free: 5.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.657, allocations: 11.89 kB / 0.5927 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.6571, allocations: 82.7 kB / 0.5928 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.6685, allocations: 1.255 MB / 0.594 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.6692, allocations: 379.6 kB / 0.5943 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.6693, allocations: 139.8 kB / 0.5945 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.6695, allocations: 28 kB / 0.5945 GB, free: 3.266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.672, allocations: 1.441 MB / 0.5959 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6721, allocations: 0 / 0.5959 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.6722, allocations: 15.98 kB / 0.5959 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.6723, allocations: 60.95 kB / 0.596 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005157/0.6775, allocations: 2.627 MB / 0.5986 GB, free: 15.09 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.004318/0.6818, allocations: 3.669 MB / 0.6021 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.682, allocations: 117.7 kB / 0.6023 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.6821, allocations: 44.89 kB / 0.6023 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003498/0.6856, allocations: 3.351 MB / 0.6056 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.6856, allocations: 35.5 kB / 0.6056 GB, free: 6.922 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.6856, allocations: 0 / 0.6056 GB, free: 6.922 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=18): time 0.001235/0.6869, allocations: 410.7 kB / 0.606 GB, free: 6.516 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.6869, allocations: 55.41 kB / 0.606 GB, free: 6.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.6872, allocations: 360 kB / 0.6064 GB, free: 6.094 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.6873, allocations: 29.7 kB / 0.6064 GB, free: 6.059 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.6875, allocations: 353.3 kB / 0.6068 GB, free: 5.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.6875, allocations: 79.06 kB / 0.6068 GB, free: 5.629 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.6877, allocations: 162.4 kB / 0.607 GB, free: 5.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.6878, allocations: 338.8 kB / 0.6073 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.6879, allocations: 121.9 kB / 0.6074 GB, free: 5.008 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.6883, allocations: 0.5664 MB / 0.608 GB, free: 4.211 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.689, allocations: 0.7714 MB / 0.6087 GB, free: 3.215 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.689, allocations: 4 kB / 0.6087 GB, free: 3.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009153/0.6899, allocations: 0.685 MB / 0.6094 GB, free: 2.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6899, allocations: 12 kB / 0.6094 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.69, allocations: 16 kB / 0.6094 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.69, allocations: 21.25 kB / 0.6094 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.6904, allocations: 187.7 kB / 0.6096 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003219/0.6908, allocations: 0.6212 MB / 0.6102 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.6912, allocations: 95.12 kB / 0.6103 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.6912, allocations: 67.92 kB / 0.6104 GB, free: 1.484 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.0001664/0.6914, allocations: 201.4 kB / 0.6106 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.6915, allocations: 35.62 kB / 0.6106 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.692, allocations: 252.4 kB / 0.6109 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.692, allocations: 0 / 0.6109 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.692, allocations: 4 kB / 0.6109 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.692, allocations: 3.984 kB / 0.6109 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006627/0.6927, allocations: 0.6615 MB / 0.6115 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6927, allocations: 7.125 kB / 0.6115 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.6928, allocations: 31.98 kB / 0.6115 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6928, allocations: 7.938 kB / 0.6116 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.6928, allocations: 7.984 kB / 0.6116 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002521/0.6931, allocations: 0.5901 MB / 0.6121 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6931, allocations: 0 / 0.6121 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.6934, allocations: 263.4 kB / 0.6124 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6935, allocations: 124.6 kB / 0.6125 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.6935, allocations: 4 kB / 0.6125 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.6938, allocations: 15.97 kB / 0.6125 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.6938, allocations: 15.92 kB / 0.6125 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.6938, allocations: 16 kB / 0.6126 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.694, allocations: 235 kB / 0.6128 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.694, allocations: 0 / 0.6128 GB, free: 14.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001098/0.6951, allocations: 391.7 kB / 0.6132 GB, free: 14.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 13 * 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.002292/0.6974, allocations: 1.461 MB / 0.6146 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.698, allocations: 354.9 kB / 0.6149 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.698, allocations: 0 / 0.6149 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.6981, allocations: 51.91 kB / 0.615 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.6987, allocations: 80.72 kB / 0.615 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.7121, allocations: 8.195 MB / 0.6231 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.7127, allocations: 0.784 MB / 0.6238 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007963/0.7136, allocations: 174.1 kB / 0.624 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.7138, allocations: 123.3 kB / 0.6241 GB, free: 2.668 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.7138, allocations: 0 / 0.6241 GB, free: 2.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2399/0.9537, allocations: 14.33 MB / 0.6381 GB, free: 154.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.9539, allocations: 293.7 kB / 0.6384 GB, free: 154.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.283, allocations: 0 / 0.6384 GB, free: 154.1 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches