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.00174/0.00174, allocations: 109 kB / 20.48 MB, free: 1.477 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.002155/0.002155, allocations: 211.9 kB / 23.79 MB, free: 4.688 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.434/1.434, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2314/0.2314, allocations: 44.24 MB / 331.1 MB, free: 9.516 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",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.00225/0.00225, allocations: 71.89 kB / 468.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1171, allocations: 61.03 MB / 0.5169 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4348/0.5519, allocations: 152.2 MB / 0.6656 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.5619, allocations: 6.261 MB / 0.6717 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.5622, allocations: 3.938 kB / 0.6717 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.5628, allocations: 79.55 kB / 0.6718 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006982/0.5698, allocations: 2.539 MB / 0.6742 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.5702, allocations: 147.7 kB / 0.6744 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008953/0.5711, allocations: 0.5178 MB / 0.6749 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.042e-05/0.5712, allocations: 16.59 kB / 0.6749 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.5717, allocations: 255 kB / 0.6752 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.5726, allocations: 466.6 kB / 0.6756 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.5727, allocations: 12 kB / 0.6756 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006716/0.5794, allocations: 3.164 MB / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.5796, allocations: 175.4 kB / 0.6789 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.58, allocations: 207.1 kB / 0.6791 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005887/0.5859, allocations: 2.026 MB / 0.681 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5859, allocations: 4 kB / 0.681 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5859, allocations: 4 kB / 0.681 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.827e-05/0.5859, allocations: 0 / 0.681 GB, free: 11.78 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.003175/0.5891, allocations: 0.8627 MB / 0.6819 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/0.5891, allocations: 12.03 kB / 0.6819 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.266e-05/0.5892, allocations: 13.19 kB / 0.6819 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.5893, allocations: 85.27 kB / 0.682 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/0.5933, allocations: 496.1 kB / 0.6825 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.5942, allocations: 310.1 kB / 0.6828 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.5945, allocations: 234.2 kB / 0.683 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.5947, allocations: 28 kB / 0.683 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.5966, allocations: 1.121 MB / 0.6841 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.5966, allocations: 4 kB / 0.6841 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.5968, allocations: 16 kB / 0.6841 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-05/0.5968, allocations: 52.97 kB / 0.6842 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.6006, allocations: 2.289 MB / 0.6864 GB, free: 6.141 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.004134/0.6048, allocations: 2.272 MB / 0.6886 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.605, allocations: 122.7 kB / 0.6888 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.6052, allocations: 60.84 kB / 0.6888 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003468/0.6086, allocations: 1.394 MB / 0.6902 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.6087, allocations: 34.56 kB / 0.6902 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.6087, allocations: 0 / 0.6902 GB, free: 2.109 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.001298/0.61, allocations: 361.4 kB / 0.6905 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.61, allocations: 55.41 kB / 0.6906 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.6104, allocations: 348.2 kB / 0.6909 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.6105, allocations: 33.7 kB / 0.691 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.6107, allocations: 354.9 kB / 0.6913 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.6108, allocations: 95.27 kB / 0.6914 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.611, allocations: 158.5 kB / 0.6915 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6112, allocations: 346.7 kB / 0.6919 GB, free: 352 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.6114, allocations: 117.9 kB / 0.692 GB, free: 236 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.612, allocations: 0.5608 MB / 0.6925 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.613, allocations: 0.7661 MB / 0.6933 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.613, allocations: 4 kB / 0.6933 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001488/0.6145, allocations: 0.7399 MB / 0.694 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.6145, allocations: 12 kB / 0.694 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.6145, allocations: 20.03 kB / 0.694 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-05/0.6146, allocations: 24 kB / 0.6941 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.6151, allocations: 191.7 kB / 0.6942 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004803/0.6156, allocations: 0.6094 MB / 0.6948 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.616, allocations: 102.9 kB / 0.6949 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/0.6161, allocations: 56 kB / 0.695 GB, free: 12.69 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.0002374/0.6163, allocations: 217.3 kB / 0.6952 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.6167, allocations: 87.72 kB / 0.6953 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.6173, allocations: 271.4 kB / 0.6955 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.6173, allocations: 4 kB / 0.6955 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6173, allocations: 0 / 0.6955 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6173, allocations: 0 / 0.6955 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.6184, allocations: 0.6393 MB / 0.6962 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6184, allocations: 4 kB / 0.6962 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.6185, allocations: 35.98 kB / 0.6962 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.6185, allocations: 7.938 kB / 0.6962 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.6186, allocations: 11.98 kB / 0.6962 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003773/0.6189, allocations: 0.5902 MB / 0.6968 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.6189, allocations: 4 kB / 0.6968 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.6193, allocations: 306.9 kB / 0.6971 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6194, allocations: 39.73 kB / 0.6971 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.6195, allocations: 11.98 kB / 0.6972 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.6197, allocations: 8 kB / 0.6972 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.6198, allocations: 31.84 kB / 0.6972 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.6198, allocations: 16 kB / 0.6972 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002401/0.6201, allocations: 223 kB / 0.6974 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6201, allocations: 0 / 0.6974 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001336/0.6214, allocations: 403 kB / 0.6978 GB, free: 9.629 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.002748/0.6241, allocations: 1.498 MB / 0.6993 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006874/0.6248, allocations: 342.3 kB / 0.6996 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6248, allocations: 0 / 0.6996 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.625, allocations: 65.47 kB / 0.6997 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.6256, allocations: 83.97 kB / 0.6997 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.6391, allocations: 8.823 MB / 0.7083 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.6396, allocations: 0.7968 MB / 0.7091 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005439/0.6401, allocations: 167.2 kB / 0.7093 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.6403, allocations: 111.4 kB / 0.7094 GB, free: 13.12 MB / 0.545 GB Notification: Performance of SimCode: time 2.485e-06/0.6403, allocations: 4 kB / 0.7094 GB, free: 13.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.6824, allocations: 15.43 MB / 0.7245 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.27, allocations: 8 kB / 0.7245 GB, free: 13.68 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.984499121957924]