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.001078/0.001078, allocations: 101.3 kB / 16.27 MB, free: 6.344 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.001158/0.001158, allocations: 192.8 kB / 17.2 MB, free: 5.945 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.472/1.472, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2327/0.2327, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.002485/0.002485, allocations: 70.45 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1377, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3765/0.5143, allocations: 151.7 MB / 0.5784 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006946/0.5213, allocations: 6.228 MB / 0.5845 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.5215, allocations: 2.844 kB / 0.5845 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.5219, allocations: 74.17 kB / 0.5846 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006487/0.5284, allocations: 2.464 MB / 0.587 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.5288, allocations: 145.7 kB / 0.5871 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008958/0.5297, allocations: 0.5201 MB / 0.5876 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.5298, allocations: 18.42 kB / 0.5877 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.5303, allocations: 238.5 kB / 0.5879 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009499/0.5313, allocations: 464.7 kB / 0.5883 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.5313, allocations: 12.69 kB / 0.5883 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/0.5389, allocations: 3.062 MB / 0.5913 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.5391, allocations: 170.8 kB / 0.5915 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.5395, allocations: 217.6 kB / 0.5917 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.545, allocations: 2.092 MB / 0.5938 GB, free: 8.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.545, allocations: 3.984 kB / 0.5938 GB, free: 8.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.545, allocations: 0 / 0.5938 GB, free: 8.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.566e-05/0.5451, allocations: 0 / 0.5938 GB, free: 8.891 MB / 430.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.003142/0.5482, allocations: 0.9099 MB / 0.5946 GB, free: 8.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.5483, allocations: 11.45 kB / 0.5947 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.5485, allocations: 85.55 kB / 0.5947 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.5608, allocations: 1.255 MB / 0.596 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/0.5615, allocations: 374.5 kB / 0.5963 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.5616, allocations: 132.5 kB / 0.5964 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.5618, allocations: 30.81 kB / 0.5965 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.564, allocations: 1.44 MB / 0.5979 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.564, allocations: 6.406 kB / 0.5979 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.5642, allocations: 19.06 kB / 0.5979 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-05/0.5642, allocations: 53.72 kB / 0.598 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.5687, allocations: 2.631 MB / 0.6005 GB, free: 6.184 MB / 430.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.003814/0.5725, allocations: 3.684 MB / 0.6041 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.5727, allocations: 111 kB / 0.6042 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.5728, allocations: 46.05 kB / 0.6043 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003285/0.5761, allocations: 3.344 MB / 0.6075 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.5761, allocations: 34.12 kB / 0.6076 GB, free: 68 kB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.5761, allocations: 2.125 kB / 0.6076 GB, free: 68 kB / 430.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.001193/0.5773, allocations: 409.7 kB / 0.608 GB, free: 15.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.5774, allocations: 54.25 kB / 0.608 GB, free: 15.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.5777, allocations: 369.4 kB / 0.6084 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.5777, allocations: 29.02 kB / 0.6084 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5779, allocations: 351.1 kB / 0.6087 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.5779, allocations: 73.81 kB / 0.6088 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5781, allocations: 156.6 kB / 0.609 GB, free: 15.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5782, allocations: 344 kB / 0.6093 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.5783, allocations: 116 kB / 0.6094 GB, free: 14.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.5787, allocations: 0.5781 MB / 0.61 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.5794, allocations: 0.7543 MB / 0.6107 GB, free: 13.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5794, allocations: 8 kB / 0.6107 GB, free: 13.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008935/0.5803, allocations: 0.6947 MB / 0.6114 GB, free: 12.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.5803, allocations: 16.95 kB / 0.6114 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.5803, allocations: 16 kB / 0.6114 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.5804, allocations: 31.94 kB / 0.6114 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.5808, allocations: 183 kB / 0.6116 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003117/0.5811, allocations: 0.6206 MB / 0.6122 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.5815, allocations: 85.12 kB / 0.6123 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.5816, allocations: 70.73 kB / 0.6124 GB, free: 11.93 MB / 446.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.0001631/0.5817, allocations: 214.2 kB / 0.6126 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.5818, allocations: 32.88 kB / 0.6126 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.5823, allocations: 251.2 kB / 0.6128 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5823, allocations: 0 / 0.6128 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5823, allocations: 0 / 0.6128 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5823, allocations: 0 / 0.6128 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.583, allocations: 0.6623 MB / 0.6135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.583, allocations: 0 / 0.6135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.5831, allocations: 39.77 kB / 0.6135 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5831, allocations: 3.938 kB / 0.6135 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.5831, allocations: 4 kB / 0.6135 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002602/0.5834, allocations: 0.5979 MB / 0.6141 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5834, allocations: 4.031 kB / 0.6141 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.5837, allocations: 266.5 kB / 0.6144 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5838, allocations: 124.6 kB / 0.6145 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.5838, allocations: 0 / 0.6145 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.5841, allocations: 15.98 kB / 0.6145 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.5841, allocations: 15.92 kB / 0.6145 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.5841, allocations: 12 kB / 0.6145 GB, free: 9.688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.5843, allocations: 231 kB / 0.6148 GB, free: 9.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5843, allocations: 0 / 0.6148 GB, free: 9.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001086/0.5854, allocations: 395.7 kB / 0.6151 GB, free: 9.07 MB / 446.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.002077/0.5875, allocations: 1.452 MB / 0.6166 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.588, allocations: 347.5 kB / 0.6169 GB, free: 7.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.588, allocations: 4 kB / 0.6169 GB, free: 7.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.5881, allocations: 47.91 kB / 0.6169 GB, free: 7.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.5887, allocations: 85.17 kB / 0.617 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008684/0.5974, allocations: 8.06 MB / 0.6249 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5977, allocations: 0.7927 MB / 0.6257 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005869/0.5983, allocations: 183.8 kB / 0.6258 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5985, allocations: 119.4 kB / 0.6259 GB, free: 13.8 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5985, allocations: 0 / 0.6259 GB, free: 13.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/0.7102, allocations: 14.44 MB / 0.6401 GB, free: 15.37 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.01, allocations: 7.75 kB / 0.6401 GB, free: 15.36 MB / 478.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches