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.001481/0.001481, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001325/0.001325, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2082/0.2082, allocations: 43.52 MB / 314.1 MB, free: 460 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.00136/0.00136, allocations: 69.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.12, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.383/0.5031, allocations: 151.7 MB / 0.6356 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.5101, allocations: 6.235 MB / 0.6417 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.5104, allocations: 0 / 0.6417 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.5109, allocations: 91.48 kB / 0.6417 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006295/0.5172, allocations: 2.447 MB / 0.6441 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.5175, allocations: 145.3 kB / 0.6443 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.5183, allocations: 0.5178 MB / 0.6448 GB, free: 9.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.5184, allocations: 16.31 kB / 0.6448 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.519, allocations: 250.9 kB / 0.645 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.5199, allocations: 462.6 kB / 0.6455 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.52, allocations: 12 kB / 0.6455 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006301/0.5263, allocations: 2.977 MB / 0.6484 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.5266, allocations: 175.5 kB / 0.6486 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.5269, allocations: 207 kB / 0.6488 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004256/0.5312, allocations: 2.023 MB / 0.6507 GB, free: 3.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5312, allocations: 0 / 0.6507 GB, free: 3.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5312, allocations: 0 / 0.6507 GB, free: 3.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.5312, allocations: 0 / 0.6507 GB, free: 3.684 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.002415/0.5337, allocations: 0.9129 MB / 0.6516 GB, free: 2.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5337, allocations: 19.83 kB / 0.6516 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.5338, allocations: 78.72 kB / 0.6517 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/0.5376, allocations: 495.8 kB / 0.6522 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/0.5384, allocations: 367.8 kB / 0.6525 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.5386, allocations: 139.7 kB / 0.6527 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.5387, allocations: 28 kB / 0.6527 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.5405, allocations: 1.109 MB / 0.6538 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5405, allocations: 7.938 kB / 0.6538 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.5406, allocations: 19.56 kB / 0.6538 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/0.5407, allocations: 52.97 kB / 0.6539 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.5438, allocations: 2.276 MB / 0.6561 GB, free: 14.05 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.003401/0.5472, allocations: 2.467 MB / 0.6585 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.5474, allocations: 128.1 kB / 0.6586 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5475, allocations: 68.95 kB / 0.6587 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003812/0.5514, allocations: 3.345 MB / 0.6619 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5514, allocations: 42.55 kB / 0.662 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.5514, allocations: 0 / 0.662 GB, free: 7.32 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.001175/0.5526, allocations: 361.1 kB / 0.6623 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.5527, allocations: 55.41 kB / 0.6624 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.553, allocations: 352 kB / 0.6627 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.553, allocations: 33.7 kB / 0.6627 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5532, allocations: 337.5 kB / 0.6631 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.5533, allocations: 94.84 kB / 0.6632 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.5535, allocations: 154.4 kB / 0.6633 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5536, allocations: 338.8 kB / 0.6636 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.5538, allocations: 129.8 kB / 0.6638 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.5543, allocations: 0.5608 MB / 0.6643 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008094/0.5551, allocations: 0.7611 MB / 0.665 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.5551, allocations: 4 kB / 0.665 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001321/0.5565, allocations: 0.7358 MB / 0.6658 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5565, allocations: 12 kB / 0.6658 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5565, allocations: 18.41 kB / 0.6658 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.5566, allocations: 31.92 kB / 0.6658 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.5571, allocations: 187.7 kB / 0.666 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003441/0.5574, allocations: 0.6094 MB / 0.6666 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.5578, allocations: 95.05 kB / 0.6667 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.5579, allocations: 56 kB / 0.6667 GB, free: 1.918 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.0002318/0.5582, allocations: 221.3 kB / 0.667 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.5585, allocations: 83.55 kB / 0.667 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.559, allocations: 283.1 kB / 0.6673 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.559, allocations: 0 / 0.6673 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.559, allocations: 3.938 kB / 0.6673 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5591, allocations: 0 / 0.6673 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009342/0.56, allocations: 0.735 MB / 0.668 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.56, allocations: 0 / 0.668 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.5602, allocations: 43.97 kB / 0.6681 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5602, allocations: 0.875 kB / 0.6681 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.5602, allocations: 15.94 kB / 0.6681 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002867/0.5605, allocations: 0.5902 MB / 0.6687 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5605, allocations: 3.938 kB / 0.6687 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.5608, allocations: 310.8 kB / 0.669 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.561, allocations: 116.7 kB / 0.6691 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.561, allocations: 8 kB / 0.6691 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.5613, allocations: 12.8 kB / 0.6691 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.5613, allocations: 23.86 kB / 0.6691 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.5614, allocations: 20 kB / 0.6691 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002101/0.5616, allocations: 223 kB / 0.6693 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5616, allocations: 0 / 0.6693 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00128/0.5629, allocations: 391.7 kB / 0.6697 GB, free: 14.65 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.002651/0.5655, allocations: 1.491 MB / 0.6712 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006793/0.5662, allocations: 354.3 kB / 0.6715 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.5663, allocations: 4 kB / 0.6715 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.5664, allocations: 69.44 kB / 0.6716 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.567, allocations: 91.41 kB / 0.6717 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5787, allocations: 8.815 MB / 0.6803 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.5791, allocations: 0.7879 MB / 0.6811 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004295/0.5795, allocations: 155.3 kB / 0.6812 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.5797, allocations: 115.4 kB / 0.6813 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.5797, allocations: 4 kB / 0.6813 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.62, allocations: 14.92 MB / 0.6959 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.35, allocations: 8 kB / 0.6959 GB, free: 3.188 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