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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 110.2 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 225.4 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.6 MB / 233.8 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.222/0.222, allocations: 44.23 MB / 330.3 MB, free: 9.602 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.91 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1201, allocations: 61.03 MB / 0.5162 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4175/0.5377, allocations: 152.2 MB / 0.6648 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007905/0.5456, allocations: 6.268 MB / 0.6709 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.5458, allocations: 4 kB / 0.6709 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.5462, allocations: 83.48 kB / 0.671 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006696/0.5529, allocations: 2.531 MB / 0.6735 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.5533, allocations: 151.8 kB / 0.6736 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008445/0.5541, allocations: 0.5217 MB / 0.6741 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.467e-05/0.5542, allocations: 8.594 kB / 0.6741 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.5547, allocations: 254.9 kB / 0.6744 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.5558, allocations: 470.6 kB / 0.6748 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.248e-05/0.5559, allocations: 12 kB / 0.6748 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00708/0.563, allocations: 3.168 MB / 0.6779 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.5632, allocations: 167.5 kB / 0.6781 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.5636, allocations: 215.1 kB / 0.6783 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.5677, allocations: 2.026 MB / 0.6803 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5677, allocations: 0 / 0.6803 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5677, allocations: 0 / 0.6803 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.5677, allocations: 0 / 0.6803 GB, free: 11.79 MB / 0.5137 GB 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.002237/0.57, allocations: 0.8627 MB / 0.6811 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.57, allocations: 8.031 kB / 0.6811 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.5701, allocations: 86.7 kB / 0.6812 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.5735, allocations: 492.1 kB / 0.6817 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.5743, allocations: 310 kB / 0.682 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.5745, allocations: 238.6 kB / 0.6822 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.5746, allocations: 35.98 kB / 0.6822 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.5762, allocations: 1.117 MB / 0.6833 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5762, allocations: 3.938 kB / 0.6833 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.5763, allocations: 16 kB / 0.6834 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.5764, allocations: 56.95 kB / 0.6834 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/0.5796, allocations: 2.28 MB / 0.6856 GB, free: 6.16 MB / 0.5137 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.003436/0.583, allocations: 2.276 MB / 0.6879 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.5833, allocations: 122.7 kB / 0.688 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.5834, allocations: 60.88 kB / 0.688 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003204/0.5866, allocations: 1.39 MB / 0.6894 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5866, allocations: 39.62 kB / 0.6894 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.5866, allocations: 0 / 0.6894 GB, free: 2.129 MB / 0.5137 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.001115/0.5877, allocations: 361.4 kB / 0.6898 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.5878, allocations: 55.41 kB / 0.6898 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.5881, allocations: 348.2 kB / 0.6902 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.5881, allocations: 37.7 kB / 0.6902 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.5884, allocations: 354.9 kB / 0.6905 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.5884, allocations: 95.31 kB / 0.6906 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.5886, allocations: 154.5 kB / 0.6908 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5888, allocations: 338.8 kB / 0.6911 GB, free: 376 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.589, allocations: 125.9 kB / 0.6912 GB, free: 252 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.5895, allocations: 0.5647 MB / 0.6918 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/0.5904, allocations: 0.7596 MB / 0.6925 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5904, allocations: 8 kB / 0.6925 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001332/0.5918, allocations: 0.7339 MB / 0.6932 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5918, allocations: 15.98 kB / 0.6932 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.5918, allocations: 16 kB / 0.6933 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.5918, allocations: 27.94 kB / 0.6933 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.5923, allocations: 186 kB / 0.6935 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004137/0.5928, allocations: 0.6133 MB / 0.6941 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.5932, allocations: 95.47 kB / 0.6942 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.5932, allocations: 60 kB / 0.6942 GB, free: 12.71 MB / 0.5294 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.0002367/0.5935, allocations: 221.2 kB / 0.6944 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.5938, allocations: 87.73 kB / 0.6945 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.5943, allocations: 266.5 kB / 0.6948 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5943, allocations: 0 / 0.6948 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5943, allocations: 0 / 0.6948 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.5943, allocations: 4 kB / 0.6948 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.5953, allocations: 0.6353 MB / 0.6954 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5953, allocations: 4 kB / 0.6954 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.5954, allocations: 39.97 kB / 0.6954 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.5955, allocations: 4 kB / 0.6954 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.5955, allocations: 16.22 kB / 0.6954 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000356/0.5958, allocations: 0.586 MB / 0.696 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5958, allocations: 4.031 kB / 0.696 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.5962, allocations: 313.3 kB / 0.6963 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5963, allocations: 43.72 kB / 0.6964 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.5963, allocations: 8 kB / 0.6964 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.5966, allocations: 19 kB / 0.6964 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.5966, allocations: 23.84 kB / 0.6964 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.5966, allocations: 19.98 kB / 0.6964 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000224/0.5969, allocations: 219 kB / 0.6966 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5969, allocations: 0 / 0.6966 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001222/0.5981, allocations: 403 kB / 0.697 GB, free: 9.648 MB / 0.5294 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.002659/0.6007, allocations: 1.501 MB / 0.6985 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006138/0.6014, allocations: 335.2 kB / 0.6988 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6014, allocations: 7.938 kB / 0.6988 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.6015, allocations: 60.41 kB / 0.6989 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.6021, allocations: 88.38 kB / 0.699 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.614, allocations: 8.822 MB / 0.7076 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.6144, allocations: 0.7918 MB / 0.7084 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.6149, allocations: 171.1 kB / 0.7085 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.6151, allocations: 111.4 kB / 0.7086 GB, free: 13.14 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.6151, allocations: 0 / 0.7086 GB, free: 13.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.6609, allocations: 15.41 MB / 0.7237 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.84, allocations: 0 / 0.7237 GB, free: 13.72 MB / 0.5606 GB " [Timeout remaining time 646] (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 --stepSize=0.000201879 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.134302811929956]