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.001296/0.001296, allocations: 101.6 kB / 16.4 MB, free: 6.449 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.001236/0.001236, allocations: 189 kB / 17.33 MB, free: 5.75 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.542/1.542, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2253/0.2253, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001592/0.001592, allocations: 72.38 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1312, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4658/0.5971, allocations: 151.7 MB / 0.6356 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007465/0.6046, allocations: 6.226 MB / 0.6416 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.6048, allocations: 4 kB / 0.6417 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.6052, allocations: 83.56 kB / 0.6417 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006209/0.6115, allocations: 2.458 MB / 0.6441 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.6119, allocations: 145.3 kB / 0.6443 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007769/0.6127, allocations: 0.51 MB / 0.6448 GB, free: 9.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.245e-05/0.6127, allocations: 16.3 kB / 0.6448 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.6132, allocations: 251 kB / 0.645 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007931/0.614, allocations: 466.6 kB / 0.6455 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.614, allocations: 12 kB / 0.6455 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.6193, allocations: 2.989 MB / 0.6484 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.6195, allocations: 159.5 kB / 0.6486 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.6197, allocations: 215 kB / 0.6488 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.6228, allocations: 2.011 MB / 0.6507 GB, free: 3.754 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6228, allocations: 0 / 0.6507 GB, free: 3.754 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6228, allocations: 0 / 0.6507 GB, free: 3.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.6228, allocations: 0 / 0.6507 GB, free: 3.754 MB / 494.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.002182/0.625, allocations: 0.9168 MB / 0.6516 GB, free: 2.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6251, allocations: 11.89 kB / 0.6516 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.6252, allocations: 90.69 kB / 0.6517 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.6286, allocations: 498.2 kB / 0.6522 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.6294, allocations: 367.7 kB / 0.6525 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.6295, allocations: 143.8 kB / 0.6527 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/0.6296, allocations: 28 kB / 0.6527 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.6311, allocations: 1.109 MB / 0.6538 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6312, allocations: 0 / 0.6538 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.6313, allocations: 16 kB / 0.6538 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.711e-05/0.6313, allocations: 62.33 kB / 0.6539 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.6345, allocations: 2.272 MB / 0.6561 GB, free: 14.11 MB / 0.4981 GB 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.003417/0.6379, allocations: 2.46 MB / 0.6585 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.6382, allocations: 126.6 kB / 0.6586 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.6383, allocations: 72.95 kB / 0.6587 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003759/0.6421, allocations: 3.348 MB / 0.6619 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6421, allocations: 38.56 kB / 0.662 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.6421, allocations: 0 / 0.662 GB, free: 7.383 MB / 0.4981 GB 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=22): time 0.001132/0.6433, allocations: 365.1 kB / 0.6623 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.6433, allocations: 55.41 kB / 0.6624 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.6436, allocations: 356.1 kB / 0.6627 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.6437, allocations: 29.64 kB / 0.6627 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.6439, allocations: 341.6 kB / 0.6631 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.6439, allocations: 90.81 kB / 0.6632 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.6441, allocations: 154.4 kB / 0.6633 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6442, allocations: 338.8 kB / 0.6636 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.6444, allocations: 125.9 kB / 0.6638 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.6449, allocations: 0.5686 MB / 0.6643 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.6456, allocations: 0.7619 MB / 0.665 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6456, allocations: 4 kB / 0.6651 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001193/0.6468, allocations: 0.7394 MB / 0.6658 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6468, allocations: 15.98 kB / 0.6658 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6468, allocations: 19.94 kB / 0.6658 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.6469, allocations: 23.94 kB / 0.6658 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.6473, allocations: 175.7 kB / 0.666 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003308/0.6477, allocations: 0.6223 MB / 0.6666 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.6481, allocations: 91.06 kB / 0.6667 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.6481, allocations: 56 kB / 0.6667 GB, free: 1.973 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0001942/0.6483, allocations: 217.2 kB / 0.667 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.6487, allocations: 87.64 kB / 0.667 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.6492, allocations: 273 kB / 0.6673 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6492, allocations: 4 kB / 0.6673 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6492, allocations: 0 / 0.6673 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6492, allocations: 0 / 0.6673 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.6501, allocations: 0.7397 MB / 0.668 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6501, allocations: 4 kB / 0.668 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.6503, allocations: 44.2 kB / 0.6681 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.6503, allocations: 4 kB / 0.6681 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.6503, allocations: 7.938 kB / 0.6681 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002991/0.6506, allocations: 0.595 MB / 0.6687 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6507, allocations: 7.938 kB / 0.6687 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.651, allocations: 313.6 kB / 0.669 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6511, allocations: 112.8 kB / 0.6691 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.6511, allocations: 4 kB / 0.6691 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.6514, allocations: 15.98 kB / 0.6691 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.6514, allocations: 19.92 kB / 0.6691 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.6515, allocations: 15.98 kB / 0.6691 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002079/0.6517, allocations: 227 kB / 0.6693 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6517, allocations: 4 kB / 0.6694 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001336/0.653, allocations: 395.7 kB / 0.6697 GB, free: 14.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.00232/0.6554, allocations: 1.481 MB / 0.6712 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005945/0.656, allocations: 351.4 kB / 0.6715 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.656, allocations: 0 / 0.6715 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.6561, allocations: 67.97 kB / 0.6716 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.6567, allocations: 95.8 kB / 0.6717 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6683, allocations: 8.819 MB / 0.6803 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.6687, allocations: 0.7918 MB / 0.6811 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004435/0.6691, allocations: 159.3 kB / 0.6812 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.6693, allocations: 107.4 kB / 0.6813 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.6693, allocations: 0 / 0.6813 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.7045, allocations: 14.93 MB / 0.6959 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.65, allocations: 12 kB / 0.6959 GB, free: 3.246 MB / 0.5294 GB (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